In this article, you will learn how to set up Pi-hole as a DNS server in your network to efficiently filter and manage DNS queries. Important: Pi-hole can only perform internal DNS resolutions correctly with the Zyxel AX7501 in the network if it also functions as a DHCP server. Therefore, your router's DHCP service must be disabled and the DHCP server from Pi-hole must be used.
Instructions:
Disable DHCP on the router
Disable the DNS service on your router (e.g., Zyxel) and assign the router a static IP address,
e.g., 192.168.10.1.
Set up Pi-hole
Install Pi-hole on a device of your choice (e.g., Raspberry Pi) and assign it a fixed IP address in the same range, e.g., 192.168.10.2 (e.g., with sudo nmtui on the Raspberry Pi).
Activate Pi-hole as a DHCP server
Activate the DHCP service in Pi-hole and configure the IP range, e.g.:
Start: 192.168.10.3
End: 192.168.10.254
All devices in the network will now receive your IP address via Pi-hole and automatically use the Pi-hole IP (e.g., 192.168.10.2) as their DNS server. Your piHole setup is now fully functional.