LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 09-03-2006, 10:37 PM   #1
dmcmahon
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.

Thanks,

Doug
 
Old 09-04-2006, 01:47 AM   #2
camh
Member
 
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:

Code:
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.
 
  


Reply



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

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

All times are GMT -5. The time now is 01:40 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