Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
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.
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.
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....
-------------
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.