LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-13-2003, 10:50 AM   #1
pmh6310
LQ Newbie
 
Registered: Jun 2003
Location: Dallas, Tx
Distribution: Red Hat 8.0
Posts: 8

Rep: Reputation: 0
Angry DNS Hell!


Ok,

I've been trying for several days to set up internet access on my Linux box. I can surf to sites only if I know their IP addresses ahead of time because if I enter a URL like http://www.linuxquestions.com my browser throws a name resolution error. My ISP (Verizon ADSL) provides my IP and DNS info dynamically, however, Linux doesn't seem to record the DNS information.

Several people on this forum have let me know that they have experienced similar difficulties and that I should contact my ISP and get the DNS server IP addresses from them and place them in my /etc/resolv.conf file. Well the two people I spoke with from Verizon probably combine to become the stupidest possible pairing of any humans on earth thus I couldn't get anything from them. I also run Win XP (which has no connection trouble) and when I ran 'ipconfig /all' I got the DNS information and tried to place that in my reslv.conf file but that still didn't work. So I'm at a loss and ANY help would be greatly appreciated.

Last edited by pmh6310; 06-13-2003 at 10:52 AM.
 
Old 06-13-2003, 11:06 AM   #2
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
Re: DNS Hell!

Quote:
Originally posted by pmh6310

Well the two people I spoke with from Verizon probably combine to become the stupidest possible pairing of any humans on earth thus I couldn't get anything from them
I still haven't figured out why ISPs do that. They put the least trained people at the phones. I guess it's because unskilled labor is cheaper.

post your resolv.conf file. just wanna double check the syntax and maybe try pinging the listed DNS servers for a start.
 
Old 06-13-2003, 11:28 AM   #3
pmh6310
LQ Newbie
 
Registered: Jun 2003
Location: Dallas, Tx
Distribution: Red Hat 8.0
Posts: 8

Original Poster
Rep: Reputation: 0
Robert,

Thank you for your fast response but unfortunately I'm at work right now and do not have the DNS server IP addresses on hand right now but I do know that these were the numbers that Win XP was using and it uses Verizon's ADSL just fine. I also double checked to make sure that the DNS IP's (that were listed by XP) weren't changing (since that information is provided dynamically) and they have been the same since I've been monitoring them which was about two days ago. As for the resolv.conf file, I'm glad you know what they're suppose to look like b/c I don't so I've just been winging it. This is the file in full....
-------------

nameserver xxx.xxx.xxx.xxx
nameserver yyy.yyy.yyy.yyy

-------------

Its just those two lines which contain the two DNS IP's that I got from Windows. Thanks for your help and I hope this might solve the mystery.
 
Old 06-13-2003, 11:35 AM   #4
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
well the syntax is correct. here's a suggestion. make your own
DNS server (just a caching one). This of course would be last resort, but it's worth a shot. If you installed DNS Server when you installed RedHat, i think the setup it comes with is already setup as a caching server, you just have to run it (i found that to be the case with RedHat 7.3, double check me).

that seems like a major uneccessary work around, but for now that's all i can come up with. i'll try to think of some other suggestions.
 
Old 06-13-2003, 12:29 PM   #5
pmh6310
LQ Newbie
 
Registered: Jun 2003
Location: Dallas, Tx
Distribution: Red Hat 8.0
Posts: 8

Original Poster
Rep: Reputation: 0
I'll keep the DNS server idea in mind, I hadn't thought of that. Well here's one more question. This is probably a total newbie thing to say but is there anything I need to do to let Linux "know" that I have added the /etc/resolv.conf file or does it get automatically get checked for everytime I request a webpage? thanks.
 
  


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
dns client cannot resolve on dns server jtvillegas Linux - Software 3 03-12-2016 03:30 PM
Do I leave primary and seconday DNS blank for a DNS Server? imsam Linux - Networking 3 10-25-2004 01:48 PM
lame dns servers etc and general dns issues suse_linux9.1 Linux - Networking 3 06-01-2004 01:50 PM
DNS still slow after installing caching DNS mooreted Linux - Networking 16 01-01-2004 12:18 AM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:54 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration