Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-13-2001, 09:07 AM   #1
LQ Newbie
Registered: Sep 2001
Posts: 6

Rep: Reputation: 0
/etc/resolv.conf problem I guess......

Hi All,

This is cool....
Ever since I became a member in this community - well 3 days ago - I put one posting(question) a day and have got answers which have been fixing my problems with my RH6.1 and making me move inch by inch to my destination place.
Now that my home network is set up with my DSL Modem, RT314 router, etc etc .... I am able to ping all my LAN servers by ip address and by host names.
The problem is I am able to goto Internet (ping,ftp,telnet) only by IP address. If I open NEtscape and type in a domain name or telnet <domain name> it says unknown host.
I understand it is some kind of nameserver problem.
But my win machines on the network says Obtain DNS server dynamic. I know the Netgear router RT314 is my default gateway in my win environment as well as in my linux box. In that case why am I not able to reach the internet?
Is there anything else I should do....?
I had put in the nameserver in /etc/resolv.conf still does not work. I had put because my RT314 router says primary DNS server and Secondary DNS Server as
Any help is appreciated....
Old 09-13-2001, 10:38 AM   #2
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
You want to put the IP addresses of your ISP's DNS server in /etc/resolve.conf - that should solve your problem.


Old 09-13-2001, 12:57 PM   #3
LQ Newbie
Registered: Sep 2001
Posts: 3

Rep: Reputation: 0

You also should check that your /etc/nsswitch.conf file contains the following:

hosts: files dns

Andy H
Old 09-13-2001, 03:46 PM   #4
LQ Newbie
Registered: Sep 2001
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks you all.....
Finally, I got my linux machine to see outside world!!!!!
Magic that worked was, just to add this entry
in my /etc/resolv.conf is the ip of my dsl router RT314 from NetGear.

Thanks a Bunch to all who were patient in teaching me......


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with resolv.conf divdude Linux - Networking 6 08-01-2005 09:43 PM
resolv.conf Snump Mandriva 54 10-31-2004 04:16 PM
problem with resolv.conf file romel Linux - Networking 1 07-23-2004 11:49 AM
Resolv.conf problem saurya_s Linux - Software 3 01-11-2004 12:53 PM
resolv.conf SCSI problem Rutnut Linux - Newbie 1 12-22-2000 08:22 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration