Q - editing hosts file

  • Thread starter Thread starter Flindor
  • Start date Start date
F

Flindor

Quick question.

If you want to set up a HOSTS file to point to a DC, what should it look like?
If the DCs IP is 192.168.0.1...

should the hosts entry be?:

192.168.0.1 server
or
192.168.0.1 server.domain.local

Thanks,
Rob
 
In
Flindor said:
Quick question.

If you want to set up a HOSTS file to point to a DC, what should it
look like? If the DCs IP is 192.168.0.1...

should the hosts entry be?:

192.168.0.1 server
or
192.168.0.1 server.domain.local

Thanks,
Rob

Rather use the FQDN:
192.168.0.1 server.domain.local

--
Regards,
Ace

Please direct all replies to the newsgroup so all can benefit.
This posting is provided "AS IS" with no warranties.

Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVP
Microsoft Windows MVP - Active Directory
 
Hi,

One other thing, if you are working with Windows 2000/2003 DC's then SRV
records are also used. Hosts files (AFAIK) don't support SRV records.

Dale Weiss MCSA MCSE CISSP
PSS Security

This posting is provided "AS IS" with no warranties, and confers no rights.
Any opinions or policies stated within are my own and do not necessarily
constitute those of my employer. Use of included script samples are subject
to the terms
specified at http://www.microsoft.com/info/cpyright.htm
 
Back
Top