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.

[SOLVED] Unraid, DNS and Pi-hole

Featured Replies

I don't know if I should be asking this here on in Pi-hole's forum but here we go. 🤔

 

I have set a DNS Record in pihole to resolve unraid's IP to a local hostname (192.168.1.130 -> unraid.nas) and a bunch of CNAMES for each subdomain.

Then NginxProxyManager resolving IP:PORTS to subdomains, the usual stuff.

 

In Unraid's network settings the DNS resolver points to Pihole at 192.168.1.20 and everything is fine and dandy.

 

Here's where my issue really starts:

I want to remove Unraid from Pihole, I don't want Pihole to filter Unraid's DNS queries because my Unraid is very noisy and It's not blocking anything anyway, so I changed the IPv4 DNS server to 1.1.1.1 and now I can't no longer access my services through subdomain.unraid.nas. If I return to 192.168.1.20 it works again.

 

Looking at the NPM log I can see that it's complaining a lot:

nginx: [emerg] host not found in upstream "unraid.nas" in /data/nginx/stream/1.conf:12

 

I understand that NPM can no longer resolve unraid.nas and that's why it's not properly booting and of course that's why I can't access my services through subdomain.unraid.nas.

 

Now, how could I fix this? Is there a way to edit the HOSTS file where I can point it to the right address? Modifying the hosts file does nothing sadly.

 

Thank you very much for the help. :)

Edited by Nirvash

Solved by Nirvash

  • Nirvash changed the title to [SOLVED] Unraid, DNS and Pi-hole
  • Author
  • Solution

Turns out I just needed to edit /data/nginx/stream/1.conf in appdata, restart NPM, and then change all the proxies from hostname to IP and everything is working fine again. :)

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.