Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-03-2006, 11:37 PM   #1
LQ Newbie
Registered: Apr 2004
Posts: 13

Rep: Reputation: 0
Comcast DNS very slow under FC5

I have run into what appears to be a well-known problem for Linux users with Comcast service, for some reason the DNS servers are incredibly slow to respond to Linux, though they appear to work OK for Windows for reasons passing understanding.

I have fixed the problem by editing /etc/resolv.conf and hard-coding some well-known fast DNS servers. Unfortunately, the file is overwritten on each reboot as the DHCP operations override them. Unlike the dialog box for Windows, the Linux network setup dialog doesn't seem to let me tick a box to indicate that the settings should be saved. Is there some way I can edit a script somewhere in /etc to prevent the overwrite? It's a pain to have to recopy resolv.conf after each boot-up. I suppose I could use chattr to lock the file but I'd prefer not to do that.


Old 09-04-2006, 02:47 AM   #2
Registered: Feb 2005
Distribution: Slack/Debian
Posts: 163
Blog Entries: 2

Rep: Reputation: 33
If you're using dhclient for obtaining leases, you can add the line:

supersede domain-name-servers <dns1-ip>, <dns2-ip>;
to your /etc/dhclient.conf. This will tell dhclient to overwrite the values obtained from the dhcp server with your specified ones.


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
Slow DNS search +firefox +FC5 Kosmaty Linux - Networking 8 06-02-2006 11:44 AM
Comcast changing to dynamic DNS redsfan Linux - Networking 5 03-31-2006 05:41 AM
Primary DNS with Comcast Static IP waynevnc Linux - Networking 1 06-04-2005 09:17 PM
Linux dns problem with comcast okie90210 Linux - Networking 3 09-11-2004 10:49 AM
DNS and godaddy and comcast/attbi jqcaducifer Linux - Networking 4 08-10-2003 03:25 PM

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

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