Results 1 to 5 of 5

Thread: 13.1's Network Manager and DHCP: Need to Delete ISP Nameservers & Add Google's

  1. #1

    Default 13.1's Network Manager and DHCP: Need to Delete ISP Nameservers & Add Google's

    I'm a bit confused about changing name servers via Network Manager in 13.1 Gnome.

    I'm using a wired connection with out-of-the box installer-configured DHCP and want to remove my ISP's name servers and add Google's.

    Via "Network" in "Settings", I have added 8.8.8.8 and 8.8.4.4 to IPv4, while retaining the "Automatic DHCP" setting. The "Automatic DHCP addresses only" option is no longer present. I see no way to delete existing name server entries.

    "Network" now shows both the ISP's nameservers and Google's.

    "The Network Connections" applet does retain the "Automatic (DHCP) addresses only" option and I have entered 8.8.8.8 and 8.8.4.4 in the IPv4 tab. The ISP name servers are not listed.

    /etc/resolv.conf shows:
    Code:
    nameserver 209.18.47.61
    nameserver 209.18.47.62
    nameserver 8.8.8.8
    (No typo. 8.8.4.4 is missing there.)

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,854

    Default Re: 13.1's Network Manager and DHCP: Need to Delete ISP Nameservers & Add Google's

    Quote Originally Posted by joncr View Post
    I'm a bit confused about changing name servers via Network Manager in 13.1 Gnome.

    I'm using a wired connection with out-of-the box installer-configured DHCP and want to remove my ISP's name servers and add Google's.

    Via "Network" in "Settings", I have added 8.8.8.8 and 8.8.4.4 to IPv4, while retaining the "Automatic DHCP" setting. The "Automatic DHCP addresses only" option is no longer present. I see no way to delete existing name server entries.

    "Network" now shows both the ISP's nameservers and Google's.

    "The Network Connections" applet does retain the "Automatic (DHCP) addresses only" option and I have entered 8.8.8.8 and 8.8.4.4 in the IPv4 tab. The ISP name servers are not listed.

    /etc/resolv.conf shows:
    Code:
    nameserver 209.18.47.61
    nameserver 209.18.47.62
    nameserver 8.8.8.8
    (No typo. 8.8.4.4 is missing there.)
    I guess you did not post the complete /etc/resolv.conf above. When you would have done so, you could see there that you have to remove at least the last line of the comment when you want to configure manualy. Thus remove that line and the two lines of the servers you do not want to use. And of course you can add the second Google one when you like that. It is now completely in at your manual discretion.
    Henk van Velden

  3. #3

    Default Re: 13.1's Network Manager and DHCP: Need to Delete ISP Nameservers & Add Google's

    Quote Originally Posted by hcvv View Post
    I guess you did not post the complete /etc/resolv.conf above. When you would have done so, you could see there that you have to remove at least the last line of the comment when you want to configure manualy. Thus remove that line and the two lines of the servers you do not want to use. And of course you can add the second Google one when you like that. It is now completely in at your manual discretion.
    Thanks. Couldn't find anything in the docs addressing this.

    It needs to be done manually, then, not via Network Manager, as previously? How would that affect future use of NM? Would all network config need to be manually?

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,854

    Default Re: 13.1's Network Manager and DHCP: Need to Delete ISP Nameservers & Add Google's

    Quote Originally Posted by joncr View Post
    Thanks. Couldn't find anything in the docs addressing this.

    It needs to be done manually, then, not via Network Manager, as previously? How would that affect future use of NM? Would all network config need to be manually?
    I am not using NetworkManager, so I do not know the details. But to me it seems that you want to deviate from the default behaviour that you let DHCP fill in some configs. I als do not use DHCP, thus I dop it all using YaST and the ifup method. (Then i do not need to remove that line, because there is not 'automated' tool that wants to change there).

    But NetworkManager is not dying as long as people want to walk around with computers and the end-users want toi decide which connection they want. And I do not think that human need is dying .

    What I gave you isa method th fix your wanted usage of a fixed set of DNS servers, not to be changed by DHCP. It might be possible tro do that using NM. I show it from the CLI.
    Henk van Velden

  5. #5

    Default Re: 13.1's Network Manager and DHCP: Need to Delete ISP Nameservers & Add Google's

    Hmm. It's a laptop so I'd like to leave it with NM. Just a bit bemused by the apparent loss of that capability in NM, and what the difference is between "Networks" in Setting and the "Network Connections" applet. Why have both?

    The DHCP config was created by default during the install. I can intervene to edit network settings with Fedora's installer, but I haven't tried that here.

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
  •