Re: wins option in nsswitch.conf not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, Jun 3, 2012 at 1:50 PM, Peter Peltonen <peter.peltonen@xxxxxxxxx>wrote:

>
> If I add "wins" at the end of the hosts section in /etc/nsswitch.conf
> the resolver seems to get "stuck" as after ping it just hangs (there
> is no output, I have to quit it with CTRL+C)
>
>
Works on my network, my nsswitch.conf looks like this:

hosts:      files [!NOTFOUND=return] wins [!NOTFOUND=return] dns

 I seem to recall that the [!NOTFOUND=return], which is confusing as a
double negative, keeps things like ping from hanging by causing an
immediate return once a resolution is found.

Order is important, so the above looks in the local files (/etc/hosts),
then WINS and finally DNS, if you change the order, you may get different
results.

Brett
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux