FedoraForum.org - Fedora Support Forums and Community
Results 1 to 8 of 8
  1. #1
    Join Date
    Jul 2007
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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:
    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?

  2. #2
    Join Date
    Sep 2004
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  3. #3
    Join Date
    Jul 2007
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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................?

  4. #4
    Join Date
    Oct 2006
    Location
    Lincoln, NE
    Age
    68
    Posts
    414
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  5. #5
    Join Date
    Jul 2007
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by hyperspace
    Are you using NetworkManager?
    Yes, I am.

  6. #6
    Join Date
    Oct 2006
    Location
    Lincoln, NE
    Age
    68
    Posts
    414
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  7. #7
    Join Date
    Jul 2007
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  8. #8
    Join Date
    Oct 2006
    Location
    Lincoln, NE
    Age
    68
    Posts
    414
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

Similar Threads

  1. F9 - Can't get Firefox to be Preferred
    By fyrie in forum Using Fedora
    Replies: 4
    Last Post: 19th May 2008, 04:57 AM
  2. Preferred Applications
    By piga in forum Wibble
    Replies: 43
    Last Post: 10th May 2008, 10:10 PM
  3. Preferred Aplications
    By fruity_kiwi in forum Using Fedora
    Replies: 6
    Last Post: 28th November 2007, 04:34 PM
  4. Which one is most preferred?
    By redhat154 in forum Linux Chat
    Replies: 5
    Last Post: 21st May 2006, 08:57 PM
  5. Preferred Programs
    By ironee in forum Using Fedora
    Replies: 0
    Last Post: 12th November 2005, 05:15 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •