This article was previously published under Q197808
This article has been archived. It is offered "as is" and will no longer be updated.
When you attempt to establish a trust relationship between two domains thatdo not replicate their respective Microsoft Windows Internet Name Service(WINS) databases, you receive the following error message:
Could not find domain controller for this domain
This behavior may occur if a primary domain controller (PDC) cannot resolveanother PDC's <Domain name\0x1b> entry through WINS.
To resolve this problem, you can create an LMHOSTS file on both primarydomain controllers to provide cross-domain name resolution capability. Eachfile must contain the TCP/IP address and <Domain name\0x1b> entry for theopposite controller. For information on creating the LMHOSTS file, see thefollowing article in the Microsoft Knowledge Base.
180094How to Write an LMHOSTS File for Domain Validation
After you create the LMHOSTS files, use the NBTSTAT -R command to preloadthe entries into cache.
It is recommended that you also verify that the LMHOSTS lookup function isenabled. You can do this by clicking Start, pointing to Settings, clickingControl Panel, and then double-clicking Network. Click the Protocols tab,double-click TCP/IP Protocol, click the WINS Address tab, and then click toselect the Enable LMHOSTS Lookup check box. Click OK, and then click Close.