Hi Mike,

Mike Gerdts píše v pá 05. 11. 2010 v 13:06 -0500:
> On Fri, Nov 5, 2010 at 12:22 PM, Milan Jurik <milan.ju...@oracle.com> wrote:
> >
> > Hi,
> >
> > Mike Gerdts píše v pá 05. 11. 2010 v 12:10 -0500:
> > > It is trying to do an IPv6 lookup (via ipnodes) before trying an IPv4
> > > lookup (via hosts).  Since you probably aren't using IPv6, you can get
> > > the desired behavior with:
> > >
> > > hosts: files nis dns
> > > ipnodes: files
> > >
> >
> > such config is really baaaad idea. Keep them in sync from Solaris 10
> > releases.
> 
> Can you elaborate?

E.g. double parsing of flat file before going to DNS?

>   If IPv6 is not in use, having ipnodes go to DNS
> does little other than cause unnecessary DNS requests that will always
> fail.  My observation is that the times that you notice it is failing
> are those times where it causes a really long timeout to be invoked.
> 

In correctly set environment DNS server will not timeout for AAAA
records requests.

There are cases where such config will bring something good but only in
rare cases it is not hiding some real setup problem. There is still not
clear why with common setup of hosts/ipnodes he does not see effect of
nscd cache and queries going to DNS even if needed data are in files.

Still, ipnodes are not obsolete because if you query only hosts
database, DNS backend will generate only query only fo A record, in case
of ipnodes, it will generate both (so your workaround will work).

Best regards,

Milan

_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to