D
Dan DeStefano
Recently, one of my colleagues and I got into a discussion about DNS vs.
hosts files in AD. He has configured the hosts file on all of our domain
controllers (Windows 2000 AD in native mode) to point to other DCs. One of
our DCs was moved to another site and the hosts file on a DC was not changed
to point to the moved DC on its new subnet - this obviously resulted in
NTFRS errors.
Anyway, after this I got into a discussion with my boss about the need of
the hosts file in AD. It is my position that the hosts file is no longer
necessary and should not really be used in AD and is only included for
backward-compatibility, testing and for certain special instances. It is his
position that DNS is untrustworthy and that the hosts file should be
configured as a backup in case DNS goes down. My response to this was
twofold - 1. the hosts file is queried before DNS so it is not really a
backup, it is a primary method of name-resolution, plus, it does not support
SRV records; 2. DNS is the foundation of AD and if it goes down, AD will not
work correctly anyway. Plus, that is the reason for secondary DNS servers,
of which we have several.
Could anyone point to any documentation that discusses the role of the hosts
file in AD and also include your own opinions and comments.
Dan DeStefano
hosts files in AD. He has configured the hosts file on all of our domain
controllers (Windows 2000 AD in native mode) to point to other DCs. One of
our DCs was moved to another site and the hosts file on a DC was not changed
to point to the moved DC on its new subnet - this obviously resulted in
NTFRS errors.
Anyway, after this I got into a discussion with my boss about the need of
the hosts file in AD. It is my position that the hosts file is no longer
necessary and should not really be used in AD and is only included for
backward-compatibility, testing and for certain special instances. It is his
position that DNS is untrustworthy and that the hosts file should be
configured as a backup in case DNS goes down. My response to this was
twofold - 1. the hosts file is queried before DNS so it is not really a
backup, it is a primary method of name-resolution, plus, it does not support
SRV records; 2. DNS is the foundation of AD and if it goes down, AD will not
work correctly anyway. Plus, that is the reason for secondary DNS servers,
of which we have several.
Could anyone point to any documentation that discusses the role of the hosts
file in AD and also include your own opinions and comments.
Dan DeStefano