>> i then editted /etc/nsswitch.conf and modified the
>> following line:
>> hosts: files
>> to this:
>> hosts: files dns
>>
>> after this i could browse to google.com in firefox
>> and resolve it via a host lookup
>
>Your entry for host is wrong! Most people make the same mistake and I blame
>Suns documentation on
it. The entry should look like this:
>
>hosts: files [SUCCESS=return] dns
The manual says:
The default criteria for DNS and the NIS server in "DNS-
forwarding mode" is [SUCCESS=return NOTFOUND=continue
UNAVAIL=continue TRYAGAIN=3].
The default criteria for all other sources is
[SUCCESS=return NOTFOUND=continue UNAVAIL=continue
TRYAGAIN=forever].
I.e., SUCCESS=return is the default.
I've used "files dns" and I never saw DNS used (no timeouts or "not found")
Casper
_______________________________________________
opensolaris-discuss mailing list
[email protected]