Re: hosts seems to not be used by the resolver
- From: Unruh <unruh-spam@xxxxxxxxxxxxxx>
- Date: 4 Aug 2006 16:27:53 GMT
"Nico Kadel-Garcia" <nkadel@xxxxxxxxxxx> writes:
Unruh wrote:
"Nico Kadel-Garcia" <nkadel@xxxxxxxxxxx> writes:
Dave Uhring wrote:
On Thu, 03 Aug 2006 11:39:02 -0700, x wrote:
Now, on our test server when we do `nslookup prodsrv`, it gives us
the ip address of the production server rather than the address of
the test server.
nslookup does not refer to the /etc/hosts file.
This is exactly why DNS and /etc/hosts should never be allowed to
*conflict* in their information for the same hosts or IP addresses.
Tools which use one source of data will argue with the other.
Only if they are allowed into the same room together. Why would
anyone use nslookup for anything except giving information to a human?
Because nslookup is hardly the only thing that does DNS checking. Take a
look at the contents of your /etc/nsswitch.conf to see if it's actually set
to use "files" or "dns" first: then look what happens if you change the
order around, then add "nis" with the automatic or semi-automatic
configuration tools and your order gets messed up. Then look at tools like
SSH that do reverse DNS lookups and watch the craziness *they* create when
you wind up with two IP addresses corresponding to the same hostname.
??? If you have a hosts file you had better have the order files,hosts.
Anything else would be silly. If you misuse and operating system, and it
bites you, you should not be making laws about how how others use theirs.
It is true that the new host lookup routines (which ssh uses and which are
supposed to ip6 ready)break almost everything for no discernable reason.
.
- Follow-Ups:
- Re: hosts seems to not be used by the resolver
- From: Nico Kadel-Garcia
- Re: hosts seems to not be used by the resolver
- References:
- hosts seems to not be used by the resolver
- From: xi
- Re: hosts seems to not be used by the resolver
- From: Dave Uhring
- Re: hosts seems to not be used by the resolver
- From: Nico Kadel-Garcia
- Re: hosts seems to not be used by the resolver
- From: Unruh
- Re: hosts seems to not be used by the resolver
- From: Nico Kadel-Garcia
- hosts seems to not be used by the resolver
- Prev by Date: Re: RH EL3 Kickstart - Ignoring ks.cfg problem
- Next by Date: Mandriva Authentication with win 2003 Active Directory
- Previous by thread: Re: hosts seems to not be used by the resolver
- Next by thread: Re: hosts seems to not be used by the resolver
- Index(es):
Relevant Pages
|