Using Pi-Hole as Default DNS Server

Using Pi-Hole as Default DNS Server
Using Pi-Hole as Default DNS Server
2019-09-11 01:03:58
Model: Archer C1200
Hardware Version: V2
Firmware Version: 2.0.2

Having a bit of trouble getting my router to use my raspberry pi setup with Pi-Hole as the DNS server. As far as I can tell I've configure everything correctly. Under Advanced in the DHCP Server settings, I have both the primary and secondary DNS settings pointing to the Pi's IP. According to Pi-Hole however nothing is connected to it. It sees my computer and other devices, but it reports it all as inactive. Any insight into this would be a huge help.

0
0
#1
Options
4 Replies
Re:Using Pi-Hole as Default DNS Server
2019-09-11 15:49:07 - last edited 2019-09-11 15:49:32

@Malvazar 

 

Look at the IP information on the client devices to see what their DNS settings are at. You might need to manually set them up to point to the pi-hole.

1
1
#2
Options
Re:Using Pi-Hole as Default DNS Server
2019-09-28 10:54:45 - last edited 2019-09-28 11:01:25

^^^ That is what I do and it works.

 

@Malvazar You shouldn't need to point the secondary DNS slot on the DHCP server to the Pi-Hole IP, the Pi-Hole looks after the secondary DNS itself. It should work as you have configured it, with just the first DNS slot configured, but I configure each device (laptops, tablets, etc) seperately to point to the Pi-Hole DNS. I don't know if sometimes the DNS you enter on the DHCP can be overriden by your ISP's DNS IP address. 

2
2
#3
Options
Re:Using Pi-Hole as Default DNS Server
2019-10-06 17:23:26

@Malvazar 

 

The Router's WAN IP settings should use 1.1.1.1 or 8.8.8.8 or your carrier DNS info.

 

The PiHole (which I have setup as x.x.x.2 on my network, with x.x.x.1 being the router) IP information should only be listed in the LAN DHCP IP Settings.

 

Your router will always have good DNS information and won't use your PiHole, however your internal devices will grab DHCP from the router that contains the PiHole DNS info. So every device on your network uses the PiHole.

0
0
#4
Options
Re:Using Pi-Hole as Default DNS Server
2 weeks ago

@Player911 

 

I have setup my TP Link Archer VR2800 router with two networks:

 

  1. a local network, where all devices can talk to each other, and
  2. a guest network (which I connect IoT devices), where I deliberately restrict devices from talking to the local network

 

The router acts as a DHCP server.

 

I have a DNS server that is on the local network (this is Pi-Hole). I have hard coded the router to DHCP announce the IP address of my local DNS server, x.x.x.254 (rather than use the default DNS details of my ISP).

 

While devices connected to the local network can access the local DNS server, devices connected to the guest network are unable to access the local DNS server - because I have disabled their LAN access. 

 

Is there a way I can have both local and guest networks access the local DNS server but NOT let devices on the guest network access the local network? Alternatively, am I able to offer a DHCP server which announces one set of DNS details to devices connected on the local network (i.e. the local devices use the IP address of my local DNS server for their DNS) and a different set of DNS details to devices connected to the guest network (i.e. guests use the IP address supplied by my ISP for their DNS)?

 

Thanks


E

0
0
#5
Options