cancel
Showing results for 
Search instead for 
Did you mean: 

DNS resolution issue

 
Timothy P. Jackson
Valued Contributor

DNS resolution issue

Hello Everyone,

 

I am setting up sendmail and I am having a problem with DNS resolving.

 

If I do a nslookup  for like www.yahoo.com, it comes back with the error "Name Server 128.1.1.6 Not Found"

 

From the nslookup prompt if I issue the command "server 128.1.1.6" and then try to look up www.yahoo.com, it works just fine. am i missing something in my resolv.conf file?

 

Any help would be greatly appreciated!

 

Tim

7 REPLIES
Patrick Wallek
Honored Contributor

Re: DNS resolution issue

Can you please post your /etc/resolv.conf and /etc/nsswitch.conf files?

Timothy P. Jackson
Valued Contributor

Re: DNS resolution issue

# vi /etc/resolv.conf

"/etc/resolv.conf" 2 lines, 49 characters

domain thnajackson.com

nameserver 192.168.101.10

 

#

# vi /etc/nsswitch.conf

"/etc/nsswitch.conf" [Read only] 1 line, 105 characters

hosts: files [NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=c

ontinue TRYAGAIN=return]

Timothy P. Jackson
Valued Contributor

Re: DNS resolution issue

oops sent the information from the wrong server...

 

# vi /etc/resolv.conf

"/etc/resolv.conf" 2 lines, 49 characters

domain rc.ghbcoleman.com

nameserver 128.1.1.6

 

#

# vi /etc/nsswitch.conf

"/etc/nsswitch.conf" [Read only] 1 line, 105 characters

hosts: files [NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=c

ontinue TRYAGAIN=return]

Robert_Jewell
Honored Contributor

Re: DNS resolution issue

your resolv.conf file looks ok.

 

can you resolve your nameserver or other internal servers?  Maybe a routing issue (check netstat -r)?

 

-Bob

----------------
Was this helpful? Like this post by giving me a thumbs up below!
Steven Schweda
Honored Contributor

Re: DNS resolution issue

 
Dennis Handly
Acclaimed Contributor

Re: DNS resolution issue

>oops sent the information from the wrong server...

 

(You can delete your bogus post by using the post Options menu.)

Is the "wrong" server on the same network?

 

>If I do a nslookup  for like www.yahoo.com, it comes back with the error "Name Server 128.1.1.6 Not Found"

 

It appears to not like that line in your /etc/resolv.conf.

 

>who might be able to divine what was in your "resolv.conf" file?

 

It was provided (twice :-).  Note the "nameserver 128.1.1.6" entry and again from the error message.

Nighwish
Frequent Advisor

Re: DNS resolution issue

Hi ..

 

 

Simple thinks to check:

 

 more /etc/resolving :

 

nameserver yy.yy.yy.yy
nameserver xx.xx.xx.xx

You should have two domain server for redundancy. Check the connectivity:

 

pin yy.yy.yy.yy

 

Check if you can resolv the names in your network.

 

If everything is ok.

 

This I guess it may by a firewall rule that stop the DNS request to out-side your network.

 

Regards.