
To solve the problem on all devices (computers, smartphones, etc.) on your local network, the easiest way is to install a local DNS server at home, which you can use to perform split DNS.
In this case, on Unraid, you can use "pihole," which is very popular and also allows you to block ads. But avoid doing this; free sites rely on advertising. Without it, we'd have to charge you a subscription to pay for our web hosting.

Ignore the warning that appears by clicking OK.

On the "Add Container" page that appears, select "Custom: br0" for the Network Type and set a fixed IP address for pihole.
This IP address will be the one you will use to access the pihole web interface, as well as the primary DNS server on your various network devices.
Note: this IP address must not conflict with an IP address already present on your local network and must NOT be within the range of IP addresses distributed by your current DHCP server (usually located in your router or box).

As you will have quickly understood, pihole can act as a DNS server (port 53), as a DHCP server (port 67) and has a web interface (ports 80 and 443) so you can configure it easily.

Among the proposed settings, you will find these:

At the bottom of the page, click on: Apply.

Please wait while Pi-hole downloads.

Once Pi-hole is downloaded and installed, click the "Done" button.

There you go, Pi-hole is installed.

Pi-hole appears in your Docker container list.

As you can see, it listens on ports 53 (DNS), 67 (DHCP) and 80 (HTTP for the web interface).

To configure Pi-hole, click on its icon, then click on "WebUI".

Log in with the password you set when you installed the "Pi-hole" Docker container.
The default password for Pi-hole is "admin".

To add DNS records to your Pi-hole local DNS server, go to the "Local DNS -> DNS Records" section (visible in the left menu).
Important : support webmasters of sites that offer quality content for free by disabling ad blocking.
In our case, this allows us to pay for web hosting and other costs related to our websites.
To do this, click "Disable Blocking -> Indefinitely".

Enter your root domain, as well as the subdomains used with your reverse proxy (SWAG), separating them with a comma, and enter the local IP address of your Unraid server.
Then, click "Add".
Note: another, more flexible solution is to enter only the root domain here with the local IP address of your Unraid server, then create "CNAME" records pointing to this root domain using the "Local DNS -> CNAME Records" menu.

The list of added domains appears in the "List of local DNS domains" list located just below.

NAS 12/4/2025
NAS 4/29/2026
NAS 4/15/2026
NAS 3/18/2026
Pinned content
Contact
® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.
No comment