Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
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'm pretty much a Linux newbie; I've got 30 years of software development, but have somehow avoided unixland. I've done some limited unix/linux stuff but not much configuration, and pretty much every little task requires opening a book.
I'm setting up a RedHat Enterprise Linux machine that will be a prototype server for a project. Right now I'm just trying to get it to be able to get out to the Internet and basically surf the web. There are other issues, but until I can download files, I can't address them.
The machine sits on a LAN watched over by an NT server. The LAN has a modem router (NetGear RP614) that does the gateway stuff et al.
From the Linux machine I can ping the router just fine, and I can ping an outside IP address, but I don't get any name resolution. I haven't figured out where to declare the DNS server addresses. So, I can ping 68.124.226.40 (for Yahoo) but I can't ask for yahoo.com directly. Therefore I'm assuming it's a DNS configuration issue.
I look up DNS in troubleshooting and this and other forums, but the first 10,000 articles always seem to be about how to make the machine a DNS server, which I'm not interested in. I just want to tell it "the gateway is here, and go there for your DNS". The gateway I think I did correctly, but how do I tell it what IP addresses I want it to use for DNS?
here's what was happening - when i edited /etc/resolv.conf to take out 192.168.0.1 as a nameserver i restarted my eth0 interface as i said in a couple postings (i thought that had to be done for the changes to take effect) however, when i did that SUSE queried for a new nameserver and IP address from the router so i lost my changes. I discovered that by looking at those tcpdump logs.
Ahh, then yes. Most likely under dhcp you will be querying for nameserver(s) and your resolv.conf will get overwritten. It's been a while sorry. I always pretty much set the ip's statically. But yes, dhcp will cause this.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.