DNS issues on Tumbleweed after update

I have recently been having issues with DNS since the latest update of Tumbleweed. It appears that something is going on where my system cannot resolve host names at all. Local network or wide area network. Nothing I have tried seems to fix the problem, outside of using the snapper rollback trick. I am currently on snapshot 20210210.

Things I have tried:

  • disabling IPv6 in YaST
  • running sudo netconfig update -f
  • removing /etc/resolv.conf and restarting NetworkManager

I haven’t found anything else out there to help me resolve this.

I started here on my quest for answers.
https://forums.opensuse.org/showthread.php/520090-DNS-does-not-work-after-NetworkManager-update

Any help is greatly appreciated.

I am having similar trouble. But I had updated a week ago. It was just fine until today. Today I installed another application that preceded the trouble. (see https://forums.opensuse.org/showthread.php/550276-Internet-trouble-DNS)

Same issue here. After updating my tumbleweed installation yesterday with “zypper dup” (>6000 packages), my wired connection now shows “limited connectivity”.

I can ping some local DNS servers in my country but name resolutions doesn’t work.

I tried the same as you guys but it didn’t help either. :frowning:

At this point I need to wait to update my server and primary systems. I submitted a bug report on this issue.

https://bugzilla.opensuse.org/show_bug.cgi?id=1182512

I commented on your bug report. The solution described in 1182107 – NetworkManager dns resolv.conf works for me. Although I am not quite clear about what I did there :wink:

COOL! This worked for me, too!!!lol!

I’m going to give this a try. Did you use the prescribed solution verbatim?


passwd:         files nis
group:          files nis
shadow:         files nis

hosts:          files dns myhostnam

I looked at the /etc/nsswitch.conf on my working snapshot 20210210 and this is what I have:


passwd:         compat
group:          compat
shadow:         compat
hosts:          [NOTFOUND=return] files mdns_minimal dns wins

So, I guess we’ll see how this goes! :slight_smile:

I played around with the options a bit and the recommended options, of which I don’t understand, also work on my system. So, two thumbs up!

Can you post your working nsswitch.conf please? Or you may comment on this similar thread https://forums.opensuse.org/showthread.php/550276-Internet-trouble-DNS
We are still wondering what was the offending part…

Out of curiosity, would check if this works:

passwd: compat 
group:  compat 
shadow: compat 

hosts: files mdns_minimal dns wins

I imagine the problem is starting with [NOTFOUND=return] but I may be wrong :slight_smile:

Would this cause issues with SSH? I’m seeing some odd behavior of not being able to connect via cyberduck from windows but no issues connecting via terminal.