Please follow the below template, it will help us to help you!
Expected Behaviour:
After installing pi-hole on a pi zero v1.3, ipconfig for my desktop should show default gateway = IP address of pi zero.
Actual Behaviour:
however it is still showing it to be that of the router. all features of pi hole are running. it is blocking ads fine.
i had put a second DNS server of google as back up initially.
additionally, I installed piVPN on the same pi-zero.
when i connected my iphone to the vpn with default config, it worked, however no adblocking happened on the phone from cellular data.
when i changed the config file of vpn to point to pi-zero IP, vpn didn't work.
ipconfig log:
Windows IP Configuration
Ethernet adapter Ethernet:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Local Area Connection* 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Ethernet adapter Ethernet 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Hello,
Thank you very much for the response. I made one mistake in my problem statement:
default gateway = ip of router . this is correct and ok.
when I do ipconfig /all, even the DNS servers is showing to be IP of router and not ip zero.
Wireless LAN adapter Wi-Fi:
Can you post screenshots of your router "DHCP server" settings ?
If it lacks an option to push a DNS server (Pi-hole's IP) to the clients through DHCP, I would recommend to disable the DHCP server on the router and enable the one on Pi-hole as a replacement:
thank you for continued assistance.
I went to DHCP settings and added pi hole IP in the DNS server field there. the DHCP server didn't change, but pi hole appeared as additional DNS server in the query .
do i live with this or do i follow the article shared and go to pi hole admin and select it to be the DHCP server?
thank you for comment on handle , couldn't believe it was available.
You dont want the clients to get two DNS servers assigned as the router DNS service isn't Pi-holed and the clients will query both.
From screenshot, this appears to be an Asus router.
Me and this other piholer experienced we cant use our Asus router to assign DNS servers to clients via the routers DHCP because we cant get ride of the second DNS IP (the router).
So we switched DHCP from router to Pi-hole.
Hello,
Thank you for the troubleshooting and advice. I change my DHCP to pi-hole, restarted router and pi-zero, and now everything is showing correctly.
Thank you for the help.