And from
an Oct post made elsewhere, a repost, edited and trimmed down, of some very basic directions on how to setup Pi-Hole on the 3006.102.x firmware when the Pi-Hole is running on an external device like a Raspberry Pi and the Pi-Hole device is connected to the main LAN/main WiFI. The Pi-Hole device should have a manually reserved or static IP address. The following steps assumes the router running Asus-Merlin 3006.102.x firmware is configured as the local network DHCP server. Your use case may require a different setup. There may be different ways to accomplish the same end goal.
- Input the Pi-Hole IP address into the LAN > DHCP Server DNS field(s). (Set Advertise router's IP in addition to user specified DNS to No if that option is available.)
- For the WAN DNS fields use any public or ISP DNS server.
- On the DNS Director page, enable DNS Director.
- On the DNS Director page, set Global Redirection to User defined DNS #1.
- On the DNS Director page, input the Pi-Hole IP into User defined DNS #1 field
- On the DNS Director page, in the Client List select the Pi-Hole's MAC address and set Redirection to No Redirection, then click the Add (plus) icon to add it to the list.
- Under the DNS Director's Guest Network Pro Profile section, select each Guest Network Pro Profile and set it's Redirection to User defined #1.
- When finished making changes on DNS Director remember to select the Apply button.
- On the Guest Network Pro profile settings page, under Advanced Settings set the DNS Server to Default.
- On the Pi-Hole > Settings >DNS one may need to change the Interface Settings to either Respond only on interface (select Pi-Hole network interface), or if using multiple network ports on the Pi-Hole device select Permit all all origins.
- On the Pi-Hole > Settings > DNS page under Conditional Forwarding, follow the examples to input your router's main LAN and any Guest Network Pro profiles in the format the example indicates (ex: true,192.168.0.0/24,192.168.0.1,fritz.box) in the provided Conditional Forwarding field.
- Make sure to apply any changes to the Pi-Hole settings.
- When finished test the settings to see if clients are using the Pi-Hole and if the Pi-Hole is properly showing the client requests in the Pi-Hole Query Log.
- In rare cases one may need to reboot both the router and any network clients.
- One may also want to input a domain name into the LAN >LAN-IP Domain Name field and LAN > DHCP Server Router's Domain Name field. That domain name can used when setting up the Pi-Hole Conditional Forwarding reverse server(s).
Few notes on setting up a Guest Network Pro profile:
When creating the Guest Network Pro profile, if you disable the option
Use same subnet as main network you will be creating a separate IP subnet, one that generally is blocked from accessing the main LAN/main WiFi. This will usually block access direct access to a Pi-Hole on the main LAN/main WiFi. If you put a Pi-Hole with a single network port on a Guest Network Pro profile that has the option
Use same subnet as main network disabled, that Pi-Hole device may be inaccessible to any network client other than those network clients connected to the same Guest Network Pro profile as the Pi-Hole with it's single network port.
If the device hosting the Pi-Hole has two (or more) network adapters it may be possible to assign one adapter to the main LAN/main WiFi and a second to a Guest Network Pro profile. But in the end one should really conder why they are putting the Pi-Hole device on a Guest Network Pro profile rather than on the main LAN/main WiFi. One can use Asus-Merlin's DNS Director to force Guest Network Pro profile clients to use a Pi-Hole that is connected to the main LAN/main WiFi.
Example DNS Director page (with two Pi-Hole devices):
View attachment 69256
Example Pi-Hole Conditional Forwarding (with main LAN and two Guest Network Pro profiles):
View attachment 69257
Post edited and updated.