Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

DNS resolution has stopped working

Featured Replies

DNS on my unRAID system has stopped working completely. My array, SMB, docker containers, VMs, everything else works fine except things like Plex which need DNS to function. I can ping IP addresses inside and outside, but I can not ping any named address.

 

I used to have Pi-Hole installed, but I saw many people had problems with it so I removed that container. While it was installed, and currently, I have been using 9.9.9.9, 8.8.8.8, and 1.1.1.1 as the DNS which had been working just fine until last week.

 

I have changed the DNS to static, I have also set the IP to DHCP and neither are working. I have also set the DNS to my router (USG4Pro) with no luck. The unRAID server has been rebooted multiple times. Currently the VMs and Docker are off.

 

The only thing I see as major problem is that /etc/resolv.conf is empty, completely blank. If I add in the nameservers everything works fine until I reboot of course. Also /boot/config/network.cfg looks fine and has the nameservers listed. Another thing I notice is that /etc/resolv.avahi.conf is populated correctly.

Any ideas?

tower-diagnostics-20220210-0655.zip

Edited by quietas

  • Author

On a side note, I see lots of posts with similar issues but no solutions. Why people? I hate it when people post a problem and don't come back to post what worked in the end.

  • Author

I found this post from a couple years back. It talked about avahi and how to disable it. I did not have a /boot/config/share.cfg so I made one and added shareAvahiEnabled="no" as the only thing in it. This seems to work once I rebooted the server.

https://forums.unraid.net/topic/91825-dns-servers-not-retained-in-resolvconf-on-unraid-reboot/


Is this correct and will it break anything in the long run other than not using Apples Bonjour/Avahi stuff that I don't use anyway?

If anyone is looking at this in the future, this is what I did.

nano /boot/config/share.cfg
shareAvahiEnabled="no"
<ctrl-x>
<enter>

 

Edited by quietas

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.