This is a quick and easy tutorial for those that are struggling to setup the Pi Hole with Asus Routers. I started by reading the Pi Hole documentation.
This is sadly not optimal for those of us that have the Asus Router (in my case I have the AC1900), but fortunately after breaking my internet a few times, I was able to find simple settings that allow:
- Easy setup
- No mucking around with the command line
- All the benefits the Pi Hole can offer you
Instructions – Asus Router
Step 1: Follow the Pi Hole install instructions as provided on the link above, you can use the automated install, and just accept all defaults. Note the IP address assigned to the Pi Hole
Step 2: Open the Asus Admin interface (usually 192.168.1.1)
Step 3: Go to the WAN tab, and specify DNS servers for your router. This is very important, otherwise you will end up getting a lot of queries from your router o the Pi for the heartbeat. In my case, I’m using Cloudflare’s DNS:
Step 4: Go to the LAN tab, and under DHCP server, configure the following fields:
Domain Name: This will make it easier to identify your devices on the Pi Hole Interface later on! Choose something nice 🙂
DNS Server 1: The IP Address of the Pi Hole
Advertise router’s IP in addition to user-specified DNS: Disable, otherwise the router will also be advertised as a DNS server, and will not make the Pi Hole work properly. We will configure something on the Pi Hole later on to ensure that local DNS queries are handled by the router
Forward local domain queries to upstream DNS: Your upstream DNS is the Pi Hole, you want local queries to stay on the router (as these will be coming from the Pi Hole, so if you enable this, you likely create a DNS loop! lol)
Manually Assigned IP: Very important to set the Pi Hole Mac / IP here, this ensures the IP address of the Pi Hole never changes
Instructions – Pi Hole
Step 1: Under the Pi Hole Admin GUI, go to Settings -> DNS
Note: I recently experienced some VPN issues with Cloudflare (not properly resolving some names), so I reverted back to Google for now.
Step 2: Save and reboot everything! Wait for a few minutes, and check your Pi Hole interface to see the queries coming in!
Step 3: Experiment! I plan on trying to enable DNSSEC, and see how much performance impact I end up having. Post comments if you disagree with any of the instructions above! What worked for me might not work for you! 🙂