I have a piHole set up on my network with address
My router is
192.168.2.1 and the DNS settings on the router point to
192.168.2.10 meaning all traffic that goes via the router (which is everything) uses the local pihole for DNS (see screenshot below)
The router's firmware is
DD-WRT v3.0-r33413 mini (09/27/17)
This is working great and ads are being blocked as expected, however, I want to add some local network DNS entries.
As an example, I want to be able to type
http://router in a web browser and have that resolve to
I have followed this tutorial as well as the advice in the comments of this post and now my
etc/pihole/lan.list looks like this
192.168.2.1 router.lan router
I had to also made some DnsMasq changes on my DD-WRT router as follows
and now I am able to ping and nslookup
router.lan from devices on my network. However, I am not able to ping or nslookup
router as I get
ping request could not find host router. Please check the name and try again.
What am I missing?