Solved

DNS Name lookup test failed

Posted on 2004-03-23
7
255 Views
Last Modified: 2010-03-17
Hi All.

I am able to resolve dns names using nslookup on my linux but if I ping a domain name it says unkown host..!!!!!!


any clue???
0
Comment
Question by:last
7 Comments
 
LVL 8

Expert Comment

by:da99rmd
ID: 10656139
If you ping by ip then does that work ?
/Rob
0
 

Author Comment

by:last
ID: 10657017
yes I can ping the IP.
0
 
LVL 8

Expert Comment

by:da99rmd
ID: 10657059
Then it should work if you can do this things:
1. Do a nslookup of a ip.
2. Ping the ip
then the ping domain name will work too, because it does just these steps.

/Rob
0
 
LVL 40

Accepted Solution

by:
jlevie earned 25 total points
ID: 10659221
Check the contents of /etc/resolv.conf and make sure that it specifies valid "nameserver"s. Also check /etc/nsswitch.conf to be sure that "hosts" includes at least "files dns".
0
 
LVL 14

Assisted Solution

by:pablouruguay
pablouruguay earned 25 total points
ID: 10661108
here is an example of /etc/resolv.conf


[pablo@omega Mail]$ cat /etc/resolv.conf
search antel.com
nameserver 200.199.40.12


and is nsswitch,.conf you need to have this

#hosts:     db files nisplus nis dns
hosts:      files dns

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now