Artem Kachitchkine <Artem.Kachitchkin at Sun.COM>
writes:

[...]

> OK, reboot over... the network came up and allowed all services to
>> start but dns fails.  I can navigate my home lan but not the internet.
>
> Did you edit /etc/nsswitch.conf such that the hosts entry includes dns?
>
> -Artem

Sebastien Roy <Sebastien.Roy at Sun.COM> writes:

[...]

> You also need the hosts and ipnodes entries in /etc/nsswitch.conf to
> both be "files dns".
>
> This tells the name service switch to try /etc/hosts first, then to
> fallback to DNS.

Michael Ramchand <Mike.Ramchand at Sun.COM> writes:

> vi /etc/nsswitch.conf
>
> line that says hosts should read:
>
> hosts:      files dns
>
> (and /usr/sbin/ifconfig -a will show how your network is configured)

[...]

No I hadnt... but I have now

And it works now... I havent rebooted to see if it sticks but it
started working soon as I edited /etc/nsswitch.conf

This page:
  
http://dlc.sun.com/osol/docs/content/2008.11/SYSADV0/How%20to%20Manually%20Configure%20the%20System%27s%20Wired%20Network%20Settings.html

Needs to include the nsswitch.conf information.  Line 5 at the bottom
seems to leave it entirely out:

 5) To preserve the configuration across system reboots, edit
    configuration files as follows:

   a. Add the IP address of bge0 to the /etc/hostname.bge0 file.

   b. If a router exists, add the router's IP address to the
      /etc/defaultrouter file.

Should that have a bug submitted?


Reply via email to