[SunHELP] DNS setting for Sun solaris

Mike Nicewonger sunhelp at sunhelp.org
Sun Oct 21 22:34:57 CDT 2001


Yes you have to change the hosts line to read: files dns

Mike N

On Sun, 21 Oct 2001, you wrote:
> Here is /etc/resolv.conf
> domain  Your.domain
> search  append.this.domain
> nameserver      xxx.xxx.xxx.xxx
> 
> Change a line in /etc/nsswitch.conf to be like this
> 
> hosts:      files       dns
> 
> Then reboot
> every time you use nslookup and query only the hostname
> it will append what was specified in search value to be FQDN.
> 
> hope this help
> Pat.
> 
> 
> 
> -----Original Message-----
> From: Will Yardley [mailto:william at hq.newdream.net]
> Sent: Thursday, October 18, 2001 10:35
> To: sunhelp at sunhelp.org
> Subject: Re: [SunHELP] DNS setting for Sun solaris
> 
> 
> Will Yardley wrote:
> 
> [sorry... responding to myself] 
> 
> > 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.
> 
> actually i think sun also has /etc/nsswitch.conf as well, no?  i believe
> this determines what the resolver checks first... /etc/hosts, dns and /
> or nis.
> 
> w
> 
> -- 
> GPG Public Key:
> http://infinitejazz.net/will/pgp/
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list