Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-14-2005, 10:08 AM
|
#1
|
Member
Registered: Feb 2004
Location: Pakistan
Distribution: OpenSUSE 10.2
Posts: 241
Rep:
|
Configuring DNS
I have put the address of my network's DNS in /etc/resolv.conf. However, I still can't use computer names when pinging them. Can anybody tell me what the problem is?
|
|
|
11-14-2005, 10:09 AM
|
#2
|
Senior Member
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284
Rep:
|
If you type "nslookup name", where 'name' is a computername on your network, what does it return? It should display the DNS servers it's querying along with any errors associated with. Are they correct?
|
|
|
11-16-2005, 09:19 AM
|
#3
|
Member
Registered: Feb 2004
Location: Pakistan
Distribution: OpenSUSE 10.2
Posts: 241
Original Poster
Rep:
|
I tried that. It says **server can't find name: NXDOMAIN.
|
|
|
11-21-2005, 03:50 PM
|
#4
|
Member
Registered: Oct 2005
Location: A safe distance from Detroit
Distribution: SuSE 10.0, Knoppix
Posts: 99
Rep:
|
Is your DNS on the same subnet as the box you are looking from?
If so, do you have the right netmask?
If not, is there a route that points to the DNS?
Can you ping the DNS from this box?
Is your box using a fixed address or DHCP? If it's DHCP, is the DHCP server set up to give the DNS info properly?
If you can answer these questions, you should be most of the way there.
-Alan
|
|
|
11-21-2005, 10:52 PM
|
#5
|
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440
Rep:
|
Can you paste your '/etc/resolv.conf' file for us to see? Your problem is probably because you didn't put 'search <your domain>' in the resolv.conf file.
If you just have something like 'nameserver 192.168.1.5', it's not going to resolve hostnames but it will resolve the FQDN 'homer.woohoo.com'. Now if you put something like:
**/etc/resolv.conf**
search woohoo.com
nameserver 192.168.1.5
This will allow you to ping/resolve hostnames.
-twantrd
|
|
|
All times are GMT -5. The time now is 03:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|