I am currently setting up remote office PCs running Windows 7 Professional to authenticate back to a domain controller running Windows 2008 R2 in the headquarters. Is it possible to simply define the domain name of the domain controller using the local PC's hosts file instead of having to query a DNS server?
Unfortunately, no. The hosts file is only a suitable replacement for proper DNS when you need host (
Active Directory also requires a bunch of
This article documents the necessary non-host records (in the context of setting up a BIND server to serve them)
I know this is dead-thread revival, but here goes. According to
you can add entries in an LMHOSTS file for the domain controller. The file resides at C:\Windows\System32\Drivers\etc and is called LMHOSTS (no extension). The format for the domain controller entry is: