LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-13-2001, 09:07 AM   #1
cvlinux
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 0.0.0.0 in the nameserver in /etc/resolv.conf still does not work. I had put 0.0.0.0 because my RT314 router says primary DNS server 0.0.0.0 and Secondary DNS Server as 0.0.0.0
Any help is appreciated....
Thanks
 
Old 09-13-2001, 10:38 AM   #2
jharris
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.

HTH

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

Rep: Reputation: 0
Hi,



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
cvlinux
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
nameserver 192.168.0.1
in my /etc/resolv.conf
192.168.0.1 is the ip of my dsl router RT314 from NetGear.

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


Reply


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


All times are GMT -5. The time now is 06:51 PM.

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