Results 1 to 8 of 8

Thread: DNS does not work after NetworkManager update

  1. #1

    Default DNS does not work after NetworkManager update

    I forgot to mention this.

    Basically, it looks like Network Manager sees the existing /etc/resolv.conf file as manually edited. This means your name resolution will not work unless you actually did manually edit your resolv.conf file with DNS servers you want to use.

    If that is not what you did, you can fix the issues like this:

    Code:
    sudo mv /etc/resolv.conf /etc/resolv.conf.NMupdate
    sudo systemctl restart NetworkManager
    Rebooting your system after renaming resolv.conf works too.

    After this, you should have a new resolv.conf created by Network Manager, and your name resolution whould be working.

  2. #2

    Thumbs up Re: DNS does not work after NetworkManager update

    Quote Originally Posted by Thiudans View Post
    I forgot to mention this.

    Basically, it looks like Network Manager sees the existing /etc/resolv.conf file as manually edited. This means your name resolution will not work unless you actually did manually edit your resolv.conf file with DNS servers you want to use.

    If that is not what you did, you can fix the issues like this:

    Code:
    sudo mv /etc/resolv.conf /etc/resolv.conf.NMupdate
    sudo systemctl restart NetworkManager
    Rebooting your system after renaming resolv.conf works too.

    After this, you should have a new resolv.conf created by Network Manager, and your name resolution whould be working.
    Thank you. You saved me a lot of time here.

  3. #3
    Join Date
    Jul 2013
    Location
    Whitley Bay, Tyne & Wear, United Kingdom.
    Posts
    182

    Default Re: DNS does not work after NetworkManager update

    Quote Originally Posted by mstrigl View Post
    Thank you. You saved me a lot of time here.
    I'm GMT +8 and the update was Saturday, I lost more than a day's work due to lack of connectivity.... I hope this kind of error doesn't occur on opensuse again or I'm out
    For years already, happily using
    Tumbleweed - Plasma 5, GNOME, i3

  4. #4

    Thumbs down Re: DNS does not work after NetworkManager update

    DNS is still broken. I completely removed resolv.conf and when I connected to a wifi network, it populated my searchlist, but no DNS servers were listed. It doesn't work with VPN, nor WiFi. I have to manually go into resolv.conf and update the DNS servers everytime I go to a new network. To reiterate: removing resolv.conf and allowing networkmanager to create it still has nothing for DNS server (nameserver config).

  5. #5
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,700

    Default Re: DNS does not work after NetworkManager update

    Quote Originally Posted by johnoshock View Post
    I'm GMT +8 and the update was Saturday, I lost more than a day's work due to lack of connectivity.... I hope this kind of error doesn't occur on opensuse again or I'm out
    Tumbleweed should not be used on a production system. It has been shown to be pretty stable but it is a rolling release with cutting edge software you expect things to break sometimes

  6. #6
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,270
    Blog Entries
    1

    Default Re: DNS does not work after NetworkManager update

    Quote Originally Posted by emrecio View Post
    DNS is still broken. I completely removed resolv.conf and when I connected to a wifi network, it populated my searchlist, but no DNS servers were listed. It doesn't work with VPN, nor WiFi. I have to manually go into resolv.conf and update the DNS servers everytime I go to a new network. To reiterate: removing resolv.conf and allowing networkmanager to create it still has nothing for DNS server (nameserver config).
    If you modify /etc/resolv.conf manually, NM won't overwrite it. Try deleting it entirely and restart NetworkManager, or just do (as root)
    Code:
    netconfig -f update
    Does that make a difference?

  7. #7

    Default Re: DNS does not work after NetworkManager update

    Quote Originally Posted by deano_ferrari View Post
    If you modify /etc/resolv.conf manually, NM won't overwrite it. Try deleting it entirely and restart NetworkManager, or just do (as root)
    Code:
    netconfig -f update
    Does that make a difference?
    I have the same experience.
    netconfig -f update
    will not provide the name server in the resolv.conf file.

  8. #8
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,270
    Blog Entries
    1

    Default Re: DNS does not work after NetworkManager update

    Quote Originally Posted by ulfmichel View Post
    I have the same experience.
    netconfig -f update
    will not provide the name server in the resolv.conf file.
    Read the advice in this thread...

    https://forums.opensuse.org/showthre...g-after-update

Posting Permissions

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