Re: hosts seems to not be used by the resolver



"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?



.



Relevant Pages

  • Re: hosts seems to not be used by the resolver
    ... the test server. ... nslookup does not refer to the /etc/hosts file. ...
    (comp.os.linux.setup)
  • Re: hosts seems to not be used by the resolver
    ... nslookup does not refer to the /etc/hosts file. ... SSH that do reverse DNS lookups and watch the craziness *they* create when ... If you have a hosts file you had better have the order files,hosts. ...
    (comp.os.linux.setup)
  • Re: Odd message from cron daemon
    ... > Roland Smith writes: ... >> command and fails. ... > files are identical on my production server and on my test server: ...
    (freebsd-questions)
  • Re: ASPX Page loads slowly
    ... then I'd suggest caching it to avoid that 7 second wait. ... When I test the page against the test server DB, the page loads pretty fast. ... When I test the page against the production server DB, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: fastest way to duplicate production server?
    ... install the new versions of Apache/MySQL/PHP in the test server ... production server. ... Just install mysql, no ... as you gonna copy over the configuration and grant ...
    (freebsd-isp)