[SunHELP] DNS setting for Sun solaris

Mike's List sunhelp at sunhelp.org
Wed Oct 17 22:50:59 CDT 2001


In addition to the below it might be a good idea to do the following:

touch /etc/notrouter
edit /etc/defaultrouter (enter your gateway here)
edit /etc/nsswitch.conf (edit the line "hosts: files dns")


- Mike


On Wed, 17 Oct 2001, Will Yardley wrote:

> surewin champion wrote:
> > 
> > I would like to know how to set the DNS in my Sun solaris 8 environment.
> 
> i don't know if solaris has some special way (or a graphical
> configuration tool) but in most *nix environments,
> 
> vi /etc/resolv.conf
> 
> should do the trick.
> 
> ie:
> 
> search yourdomain.com subnet.yourdomain.com anothernet.yourdomain.com
> nameserver 10.3.3.4
> nameserver 192.168.31.123
> nameserver 10.4.35.3
> 
> you can have up to 6 names in the search path generally, and up to 3
> nameservers.
> 
> w
> 
> -- 
> GPG Public Key:
> http://infinitejazz.net/will/pgp/
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
> 




More information about the SunHELP mailing list