ASUS USING PI-HOLE

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

Neil62

Senior Member
Looking for help, when setting up the router to use a Raspberry PI with PI-Hole, where should the Raspberry PI IP address be input. Should it go into WAN DSN 1 and or LAN DNS Server? Should it be both? Any tips anyone would have who is already PI-hole would also be great. My setup is in my signature below.
 

dave14305

Part of the Furniture
Pi-Hole users usually want to see the requesting client's IP address in the Pi-Hole logs, so the LAN DHCP server DNS field is better for that. If you put the address in WAN DNS, all requests will appear to come from the router IP. Both isn't a good idea in case your Pi-Hole has an issue, then your router is also unable to do DNS.

Was there a sale on Raspberry Pis recently? This is the second question today about Pi and DNS. ;)

WAN DNS or LAN DNS - Asus Router
 

Neil62

Senior Member
Pi-Hole users usually want to see the requesting client's IP address in the Pi-Hole logs, so the LAN DHCP server DNS field is better for that. If you put the address in WAN DNS, all requests will appear to come from the router IP. Both isn't a good idea in case your Pi-Hole has an issue, then your router is also unable to do DNS.

Was there a sale on Raspberry Pis recently? This is the second question today about Pi and DNS. ;)

WAN DNS or LAN DNS - Asus Router
Thanks for the quick reply and have taken your advice. I do have another question I am allowing the router to act as the DHCP server rather than the Raspberry PI with PI-Hole. I have enabled "Conditional Forwarding" within PI-Hole, which is supposed to determine the names of devices on your local network. The problem here is that PI-Hole is using the hostname and not the router client list names. Is there some trick in the settings with the router or within PI-Hole to client names vs hostnames?
 

dave14305

Part of the Furniture
Thanks for the quick reply and have taken your advice. I do have another question I am allowing the router to act as the DHCP server rather than the Raspberry PI with PI-Hole. I have enabled "Conditional Forwarding" within PI-Hole, which is supposed to determine the names of devices on your local network. The problem here is that PI-Hole is using the hostname and not the router client list names. Is there some trick in the settings with the router or within PI-Hole to client names vs hostnames?
The router client list names are display “nicknames” only, unrelated to the DHCP names, potentially. The LAN page lets you assign specific IPs and hostnames to the DHCP clients. Not sure if this helps or not, since I don’t have a Pi-Hole.
 

Neil62

Senior Member
The router client list names are display “nicknames” only, unrelated to the DHCP names, potentially. The LAN page lets you assign specific IPs and hostnames to the DHCP clients. Not sure if this helps or not, since I don’t have a Pi-Hole.
Tried the manually assigning IPs in the LAN section still the same though, only hostnames showing in PI-Hole.
 

dave14305

Part of the Furniture
Tried the manually assigning IPs in the LAN section still the same though, only hostnames showing in PI-Hole.
You might need to wait until the devices renew their leases to see the results. Maybe.
 

Neil62

Senior Member
You might need to wait until the devices renew their leases to see the results. Maybe.
Never thought of that, great idea, thanks again

Sent from my SM-G955F using Tapatalk
 

K-2SO

Very Senior Member
This is the second question today about Pi

Amateurs!
Just finished setting up the fastest Pi-hole ever made on Intel i5 with 8GB RAM :D
Ubuntu 18.04, Unbound DNS and DHCP server. Killer!
Ubuntu 20.04 refused to boot on my HP 800 G1 Mini no matter what. :oops:

The goal is to do some destructive router experiments with no need to rewrite client list and reservations.
 

Neil62

Senior Member
Amateurs!
Just finished setting up the fastest Pi-hole ever made on Intel i5 with 8GB RAM :D
Ubuntu 18.04, Unbound DNS and DHCP server. Killer!
Ubuntu 20.04 refused to boot on my HP 800 G1 Mini no matter what. :oops:

The goal is to do some destructive router experiments with no need to rewrite client list and reservations.
So how should the router be set up then so the pihole uses/obtains client names and not host names?

Sent from my SM-G955F using Tapatalk
 

K-2SO

Very Senior Member
I don’t think you can get router’s client names. I’m going to run DHCP on the Pi-hole. Set names and reservations there once. No matter what I do with the router after DHPC is unaffected. Need to fix Unbound first, has some issues. Tomorrow.
 

bbunge

Part of the Furniture
Amateurs!
Just finished setting up the fastest Pi-hole ever made on Intel i5 with 8GB RAM :D
Ubuntu 18.04, Unbound DNS and DHCP server. Killer!
Ubuntu 20.04 refused to boot on my HP 800 G1 Mini no matter what. :oops:

The goal is to do some destructive router experiments with no need to rewrite client list and reservations.
As an i5 is not a Pi it can't be a Pi-Hole. Maybe just a hole. Or... Amateur, indeed...

I'm about to try something different, for me, with my Pi3B+.
 

bbunge

Part of the Furniture
Adventures with Pi, Raspberry Pi that is...

What I tried was to load Dnsmasq and Stubby on the Pi to make a caching DNS server with DoT. I could not get it to work to my satisfaction. Tried with Debian Buster and Ubuntu Fossa. What I did get to work was Pi-Hole and Stubby on the Pi. I succeeded with both Buster and Fossa. Stubby listen address I set to [email protected] and I used a custom DNS upstream in Pi-Hole of 127.0.0.1#5453. Set the Asus router LAN - DHCP Server - DNS Server to the static IP assigned to the Pi. Network clients will get two DNS Server addresses: the IP of the Pi and the IP of the router. If you want to avoid this turn off DHCP in the router and use the Pi-Hole as a DHCP server. I will likely run my network like this for a couple of days to see what happens. I have the add blocking function of Pi-Hole turned off (removed the block lists) as I really do not care if adds happen or not. (It is a way for web sites to make a buck to keep in operation.) I did import a malware block list, though. As time permits I plan to continue my testing/improvement of Stubby on stock Asus.
 

ColinTaylor

Part of the Furniture
So how should the router be set up then so the pihole uses/obtains client names and not host names?
You can't. The client names are entirely local to the Asus web interface. They have no connection to DNS whatsoever.
 

K-2SO

Very Senior Member
Network clients will get two DNS Server addresses: the IP of the Pi and the IP of the router.

I watched this closely. Clients use the Pi, if available. Switch to router IP only when the Pi is down. Makes the system fail safe.
 

Neil62

Senior Member
Adventures with Pi, Raspberry Pi that is...

What I tried was to load Dnsmasq and Stubby on the Pi to make a caching DNS server with DoT. I could not get it to work to my satisfaction. Tried with Debian Buster and Ubuntu Fossa. What I did get to work was Pi-Hole and Stubby on the Pi. I succeeded with both Buster and Fossa. Stubby listen address I set to [email protected] and I used a custom DNS upstream in Pi-Hole of 127.0.0.1#5453. Set the Asus router LAN - DHCP Server - DNS Server to the static IP assigned to the Pi. Network clients will get two DNS Server addresses: the IP of the Pi and the IP of the router. If you want to avoid this turn off DHCP in the router and use the Pi-Hole as a DHCP server. I will likely run my network like this for a couple of days to see what happens. I have the add blocking function of Pi-Hole turned off (removed the block lists) as I really do not care if adds happen or not. (It is a way for web sites to make a buck to keep in operation.) I did import a malware block list, though. As time permits I plan to continue my testing/improvement of Stubby on stock Asus.
My only concern is that if you are using the pi-hole as a DHCP server and have the DHCP switched off on the router, if the pihole goes down for some reason, you will loose all network/internet activity right?
 

Neil62

Senior Member
It won't happen immediately, but yes.
Thanks for that. So the safer option would be to allow/use the router DHCP and use/enable the "Use Conditional Forwarding" under the DNS settings on pi-hole?
 

Neil62

Senior Member
You can't. The client names are entirely local to the Asus web interface. They have no connection to DNS whatsoever.
Thanks for the reply, what a shame, would of been nice....
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top