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 just wanted to pass this on in case some one else has this issue. I am running FC5 on a corp network and everytime i use the Fedora system-config-network and add in my corp DNS Search path it would get overwritten on boot. Everywhere i read people warned about changing the dhclient-script but I found this workaround! I don't remember where I found it but it works!
In order for me to keep these settings I edited my /etc/dhclient-eth0.conf and added the line:
This is all well and good, as long as you stay at home, but if you take your laptop out and log on to a new network, I would assume that you do need resolv.conf overwritten.
I have this problem with my daughters computer. Unfortunately, she lives 250 miles away, and I don't get a lot of time to experiment. At the moment, I have a script set up to replace the overwritten resolv.conf file with one that works, at her home, after she boots, but it's not a very satisfactory solution.
A lot of people, including my daughter, using dsl seem to have the problem; which is that the dns servers don't get loaded correctly into resolv.conf. I would certainly like a definitive solution. The really exasperating thing is that windows handles it perfectly. There has got to be an explanation, but I haven't encountered it yet.
Just thought I'd add a couple lines to this thread since I once applied the same workaround that Cuco did...
I only had to do it because *I* wanted to use my own dns server, otherwise I can think of no reason why one should not stick the DHCP provided dns servers (unless they're broken, of course)...
I never faced a situation, using ADSL or cable connections, in which the ISP's DHCP assigned configuration would work in windows but no in Linux... Hell, even my corporate 'bloze2000/3 DHCP servers spew out correct configs for my linux boxes when needed...
Slackware's dhcpcd DHCP client seems to work reliabily, as did the versions of ISC's dhclient that I tried a couple years ago... MAybe you should try to use a different DHCP client on your daughters box...?
Thanks for the comments guys. One thing I want to clear up is that on my corp network DHCP isn't setup properly and only spits out one nameserver. The IT folks have to add in the nameservers manually on a new windows installation. Hence the issue I have is that if I add it manually DHCP-script overwrites it! Hope this clarifies!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.