WAN DNS vs LAN DNS

  • 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.

Manny_Cavalier

New Around Here
I set up a Pi-hole in my home network and I just want to know where to put my Pi-hole's IP - should it be in my LAN DNS or in the WAN DNS of my router? If on the LAN, what should be then on my WAN DNS? And vice-versa, if it should be on my WAN DNS, what should be on my LAN DNS?
 

ColinTaylor

Part of the Furniture
Most likely the LAN DNS, but it would really depend on what router you have.
 

cooloutac

Very Senior Member
I set up a Pi-hole in my home network and I just want to know where to put my Pi-hole's IP - should it be in my LAN DNS or in the WAN DNS of my router? If on the LAN, what should be then on my WAN DNS? And vice-versa, if it should be on my WAN DNS, what should be on my LAN DNS?

on my asus router i put the pi-hole address in the lan dhcp settings. in the wan dns settings I just put any public dns.

you could put in either one but putting in lan dhcp settings will differentiate between devices with their host name. If you put it in wan might just come up as the router, and you don't really have to put anything in the lan dhcp.
 

cptnoblivious

Regular Contributor
When you setup your pihole you configured which DNS servers it should be using. So if you point your internal systems to the pihole as their DNS, they'll resolve through your pihole which itself resolves through the servers you configured, the router is not in the loop (from a DNS resolution perspective)

As cooloutac said, providing the pihole as the DNS server is done easiest via DHCP, by providing it to the LAN clients.

I would still fully configure the router (i.e. with the DNS servers you want) in case the machine running your pihole has an issue, you can quickly fall back to the router as your DNS.

My $0.02
 

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