On 10/13/06, James Carlson <[EMAIL PROTECTED]> wrote:
Daniel Synnott writes:
> I understood that my dns server was not available, but relied on
> past experience and assumed that the ip lookups would be resolved
> by the hosts file.

Make sure that /etc/inet/hosts and /etc/inet/ipnodes have the same
contents.  These sorts of problems (and more) occur when those two
files are different.

The way I deal with this is:

hosts: files dns
ipnodes: files

Then for ipnodes I only maintain the localhost entry.  This is because
the gethostbyaddr() order seems to be to process all of the ipnodes
databases first, then proceed to hosts.  If ipnodes is "files dns",
then the effective order for gethostby*() would be:

/etc/inet/ipnodes
DNS
/etc/hosts
DNS

Mike


--
Mike Gerdts
http://mgerdts.blogspot.com/
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to