ASUS routers (newer firmware): using WAN instead of LAN DNS settings to configure Pihole
I just stumbled on this Support FAQ from Asus: https://www.asus.com/support/FAQ/1046062
Again, this is from Asus, not the Pihole team. And this applies to the stock Asus firmware, not Merlin. Basically what it says is:
- If you have firmware >= 3.0.0.4.386.45898: configure the Pihole connection using the WAN DNS settings.
- If you have firmware < 3.0.0.4.386.45898: configure the Pihole connection using the LAN DNS settings.
Further down on the FAQ it states:
- What's the difference of setting up Pi-hole DNS in WAN and in LAN of asus router?
It actually doesn't matter for the Asus routers. The functions are the same for the connected clients. The only thing needs to be checked is the Firmware Version of your router due to it will decide if the Pi-hole DNS server should be set in the LAN setting page or WAN setting page. You could only find the difference in the Pi-hole console > logs. If you want to know more about that, please kindly contact to the provider of Pi-hole.
I'm running on Merlin so I can't test this out. Curious if anyone has tried this and what the results were, if any.
Posted Dec 17, 2021, 11:22 PM UTC
There is a difference in setting the DNS in the LAN settings vs WAN. While the FAQ is right in that there’s not “functional difference” in that setting either gets your devices protected behind the Pi-Hole, if you use the Pi-Hole web interfaces to see what devices are requesting what domains, there’s a difference based on what you set on the router:
Set only in WAN:
Set only in LAN:
I have setup the pihole in both LAN and WAN settings so that you are able to track both all devices on the network as well as see the requests the router itself is making. Works well (except for a couple firmware versions ago where setting the WAN to point to your pihole would break internet connectivity for the entire network), so be sure you’re on the latest available firmware version.
[deleted]
Hm. I use my Pi-hile on my Rpi3 as my DHCP and my Dns server. In the config of my Asus router, in the LAN config I point to the IP of my Pi-hole. In the WAN config of my Asus router I point to 8.8.8.8
What’s the benefit to use Pi-hole as DHCP server other than the router?
It's not really so much a benefit as it is a mitigation, since many routers won't let you configure the DHCP settings and often times they let devices bypass the pi-hole. I had to do this for my home network
Are you also using the "conditional forwarding" option?