Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 13th June 2008, 02:49 PM
PaulFXH's Avatar
PaulFXH Offline
Registered User
 
Join Date: Jul 2007
Posts: 59
How to prepend preferred DNS address in F9

I installed F9 on my MacBook yesterday and most things work fine.
However, browsing is slow as it always is for me unless I can get the network to ONLY use the openDNS addresses (208.67.222.222 and 208.67.220.220).
If my router address (192.168.1.254) shows up as a preferred DNS address, then browsing becomes intolerably slow.
In general, I can get what I need by editing the /etc/dhcp3/dhclient.conf or equivalent file
However, this facility doesn't seem to be available in F9.
But, I did find this old guide which I followed to the letter.
While it may have worked with older versions of Fedora, it doesn't do the job for me here as /etc/resolv.conf always ends up with this:
Quote:
nameserver 192.168.1.254
nameserver 208.67.222.222
nameserver 208.67.220.220
I have, in another distro, made the /etc/resolv.file immutable which works fine (other than that it messes up the occasional system update) but I hope a more elegant solkution may be available.
Any ideas what I might try here?
Reply With Quote
  #2  
Old 13th June 2008, 05:10 PM
jon3k Offline
Registered User
 
Join Date: Sep 2004
Posts: 60
Where is the 192.168.1.254 nameserver coming from? dhcp? If so, just modify the dhcp server to give out the opendns IP's for nameservers.
Reply With Quote
  #3  
Old 13th June 2008, 07:45 PM
PaulFXH's Avatar
PaulFXH Offline
Registered User
 
Join Date: Jul 2007
Posts: 59
Thanks for the reply

Quote:
Originally Posted by jon3k
Where is the 192.168.1.254 nameserver coming from? dhcp?
I'm really not sure it does as when I choose StaticIP rather than DHCP, I still get exactly the same DNS servers in the very same order (that is, 192.168.1.254 comes first).

What I find very puzzling is that setting up the file dhclient.conf with only the DNS IPs that I want to use, which has worked perfectly for me in quite a number of other distros, just doesn't work here in F9.
Maybe I'm going to have to go back to the cheap and dirty expedient of editing /etc/resolv.conf and making it immutable. Unless somebody knows a better way................?
Reply With Quote
  #4  
Old 13th June 2008, 07:49 PM
hyperspace's Avatar
hyperspace Offline
Registered User
 
Join Date: Oct 2006
Location: Lincoln, NE
Age: 55
Posts: 414
Quote:
Originally Posted by PaulFXH
Thanks for the reply


I'm really not sure it does as when I choose StaticIP rather than DHCP, I still get exactly the same DNS servers in the very same order (that is, 192.168.1.254 comes first).

What I find very puzzling is that setting up the file dhclient.conf with only the DNS IPs that I want to use, which has worked perfectly for me in quite a number of other distros, just doesn't work here in F9.
Maybe I'm going to have to go back to the cheap and dirty expedient of editing /etc/resolv.conf and making it immutable. Unless somebody knows a better way................?
Are you using NetworkManager?
__________________
lost in hypertime...

Registered Linux User #329061
Reply With Quote
  #5  
Old 13th June 2008, 08:05 PM
PaulFXH's Avatar
PaulFXH Offline
Registered User
 
Join Date: Jul 2007
Posts: 59
Quote:
Originally Posted by hyperspace
Are you using NetworkManager?
Yes, I am.
Reply With Quote
  #6  
Old 13th June 2008, 09:01 PM
hyperspace's Avatar
hyperspace Offline
Registered User
 
Join Date: Oct 2006
Location: Lincoln, NE
Age: 55
Posts: 414
If you don't need it for any particular reason, you may want to concern disabling the NetworkManager service and enabling the network service. See if that corrects the problem.
__________________
lost in hypertime...

Registered Linux User #329061
Reply With Quote
  #7  
Old 13th June 2008, 10:51 PM
PaulFXH's Avatar
PaulFXH Offline
Registered User
 
Join Date: Jul 2007
Posts: 59
Quote:
Originally Posted by hyperspace
If you don't need it for any particular reason, you may want to concern disabling the NetworkManager service and enabling the network service. See if that corrects the problem.
Well, I did that but it didn't help.
Actually, it was worse as the open DNS IPs that I had included in /etc/dhclient.conf didn't show up in /etc/resolv.conf at all but only the totally useless 192.168.1.254
Reply With Quote
  #8  
Old 14th June 2008, 03:03 AM
hyperspace's Avatar
hyperspace Offline
Registered User
 
Join Date: Oct 2006
Location: Lincoln, NE
Age: 55
Posts: 414
Quote:
Originally Posted by PaulFXH
Well, I did that but it didn't help.
Actually, it was worse as the open DNS IPs that I had included in /etc/dhclient.conf didn't show up in /etc/resolv.conf at all but only the totally useless 192.168.1.254
Sorry about that. Hope you were able to get back to "normal".
__________________
lost in hypertime...

Registered Linux User #329061
Reply With Quote
Reply

Tags
address, dns, preferred, prepend

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
F9 - Can't get Firefox to be Preferred fyrie Using Fedora 4 19th May 2008 04:57 AM
Preferred Applications piga Wibble 43 10th May 2008 10:10 PM
Preferred Aplications fruity_kiwi Using Fedora 6 28th November 2007 03:34 PM
Which one is most preferred? redhat154 Linux Chat 5 21st May 2006 08:57 PM
Preferred Programs ironee Using Fedora 0 12th November 2005 04:15 AM


Current GMT-time: 02:08 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat