[SunHELP] dns doesn't work in solaris 9!!!!

Anthony J. Gabrielson agabriel at home.tzo.org
Wed Jul 10 07:35:52 CDT 2002


Switch that dns & files entry on the hosts line.  Then try it again/

Anthony

On Wed, 10 Jul 2002, Wim wrote:

> 
> Anthony J. Gabrielson wrote:
> 
> >tell me about your nsswitch.conf file - especially the hosts line.
> >
> Here's my a extract of nsswitch.conf:
> 
> passwd:     files
> group:      files
> hosts:      files dns
> ipnodes:    files
> networks:   files
> protocols:  files
> rpc:        files
> ethers:     files
> netmasks:   files
> bootparams: files
> publickey:  files
> # At present there isn't a 'files' backend for netgroup;  the system will
> #   figure it out pretty quickly, and won't use netgroups at all.
> netgroup:   files
> automount:  files
> aliases:    files
> services:   files
> sendmailvars:   files
> printers:       user files
> 
> auth_attr:  files
> prof_attr:  files
> project:    files
> 
> Cheers,
> 
> Wim
> 
> >
> >Anthony
> >
> >On Wed, 10 Jul 2002, Wim wrote:
> >
> >>Hello!
> >>
> >>
> >>I have a serious problem...
> >>when I pinged a hostname instead of an ip-address, I realised that my 
> >>dns lookup isn't working.
> >>I found out that dig works but nslookup don't!!
> >>
> >>
> >>anyone has an idea?
> >>
> >>
> >>some output:
> >>
> >>
> >>bash-2.05# dig www.cisco.com
> >>
> >>; <<>> DiG 8.3 <<>> www.cisco.com
> >>;; res options: init recurs defnam dnsrch
> >>;; got answer:
> >>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
> >>;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
> >>;; QUERY SECTION:
> >>;;      www.cisco.com, type = A, class = IN
> >>
> >>;; ANSWER SECTION:
> >>www.cisco.com.          20h53m59s IN A  198.133.219.25
> >>
> >>;; AUTHORITY SECTION:
> >>cisco.com.              20h13m2s IN NS  NS1.cisco.com.
> >>cisco.com.              20h13m2s IN NS  NS2.cisco.com.
> >>
> >>;; ADDITIONAL SECTION:
> >>NS1.cisco.com.          7h32m58s IN A   128.107.241.185
> >>NS2.cisco.com.          1h31m7s IN A    192.135.250.69
> >>
> >>;; Total query time: 73 msec
> >>;; FROM: freya to SERVER: default -- 192.168.230.6
> >>;; WHEN: Wed Jul 10 14:15:09 2002
> >>;; MSG SIZE  sent: 31  rcvd: 124
> >>
> >>bash-2.05# nslookup www.cisco.com
> >>*** Can't find server name for address 192.168.230.6: Non-existent 
> >>host/domain
> >>*** Default servers are not available
> >>bash-2.05#
> >>
> >>
> >>Cheers!
> >>
> >>Wim
> >>_______________________________________________
> >>SunHELP maillist  -  SunHELP at sunhelp.org
> >>http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list