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

Wim wdh at belbone.be
Wed Jul 10 08:24:19 CDT 2002


Tried that one earlier...
Doesn't work...

Cheers!

Wim

TomST at netins.com wrote:

>I think you should have a domin line in there as well.  I am not sure if the order matters as well.  In all of the examples that I show and use it goes like:
>domain somedomain.com
>nameserver xxx.xxx.xxx.xxx
>search otherdomain.com
>
>-----Original Message-----
>From: Wim [mailto:wdh at belbone.be]
>Sent: Wednesday, July 10, 2002 8:12 AM
>To: Tom Stewart
>Cc: sunhelp at sunhelp.org
>Subject: Re: [SunHELP] dns doesn't work in solaris 9!!!!
>
>
>Should be ok:
>search car.belbone.be
>nameserver 192.168.230.6
>
>I see that the query enters my DNS server....
>But the strange thing is: it does a reverse lookup of a private address...
>
>Jul 10 14:43:25 odin named[2432]: 
>XX+/192.168.230.11/6.230.168.192.in-addr.arpa/PTR/IN
>
>Cheers!
>
>Wim
>
>TomST at netins.com wrote:
>
>>What about your /etc/resolv.conf  what does it look like?
>>
>>-----Original Message-----
>>From: Wim [mailto:wdh at belbone.be]
>>Sent: Wednesday, July 10, 2002 8:03 AM
>>To: Anthony J. Gabrielson
>>Cc: sunhelp at sunhelp.org
>>Subject: Re: [SunHELP] dns doesn't work in solaris 9!!!!
>>
>>
>>Hmm...
>>
>>Switched dns & files, but still the same problem....
>>The Dig method works! nslookup doesn't... strange!
>>
>>Anthony J. Gabrielson wrote:
>>
>>>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
>>>>>>
>>_______________________________________________
>>SunHELP maillist  -  SunHELP at sunhelp.org
>>http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list