droidus
Posts: 244
Joined: Sat Feb 02, 2013 4:09 am

pihole dns not working

Fri Oct 12, 2018 12:24 am

I am running an instance of pihole. I wanted to add dns entries, so I followed this tutorial: https://discourse.pi-hole.net/t/howto-u ... server/533. When I go onto my windows client (after clearing the dns cache), I am unable to resolve a said dns entry. On my pihole, it works fine though. I apologize if this is more of a windows question...

sora03
Posts: 188
Joined: Mon Dec 29, 2014 4:11 pm
Contact: Website

Re: pihole dns not working

Fri Oct 12, 2018 1:17 pm

Did you change your Router's DNS server to point to the PI-hole IP address?

If you routers DNS address is 192.168.1.1 and your Pi-hole's IP address is 192.168.1.4 then you need to change your Router's DNS to 192.168.1.4. If you do not want to set it at the router level then just change your Windows PC LAN DNS address DNS to 192.168.1.4 and ipconfig /flushall IIRC.
But the ad blocking works?
I have not tried using the LAN DNS addresses.
FLOSS enthusiast, Debian user (linux-libre)

droidus
Posts: 244
Joined: Sat Feb 02, 2013 4:09 am

Re: pihole dns not working

Sat Oct 13, 2018 12:10 am

Yes. It is actively ad blocking.
and "flushall" does not do anything in windows 10.

Andyroo
Posts: 215
Joined: Sat Jun 16, 2018 12:49 am
Location: Side of the hill in Lincolnshire

Re: pihole dns not working

Sat Oct 13, 2018 1:13 am

I’ve had the same issue with iOS devices using the Pi-hole as DNS (I.e. not set at router level).

Everything was fine for a few days but then it stopped - no web site (with or without ads) was returned. A reset (both from the web app and from the command line) did not help but a full power off and a wait of a couple of days (OK, I got distracted) seems to have sorted it.

I did change the DNS server back to the router and then back to the Pi hole again during this time.
Need Pi spray - these things are breeding in my house...

sora03
Posts: 188
Joined: Mon Dec 29, 2014 4:11 pm
Contact: Website

Re: pihole dns not working

Sun Oct 14, 2018 12:53 am

droidus wrote:
Sat Oct 13, 2018 12:10 am
Yes. It is actively ad blocking.
and "flushall" does not do anything in windows 10.
could it be related to an Ipv6 in the win10?
FLOSS enthusiast, Debian user (linux-libre)

droidus
Posts: 244
Joined: Sat Feb 02, 2013 4:09 am

Re: pihole dns not working

Sun Oct 14, 2018 1:04 am

I'm not sure.

rasporg
Posts: 9
Joined: Wed Oct 12, 2016 7:41 pm

Re: pihole dns not working

Sun Oct 14, 2018 9:32 am

ipconfig /flushdns

droidus
Posts: 244
Joined: Sat Feb 02, 2013 4:09 am

Re: pihole dns not working

Sun Oct 14, 2018 12:36 pm

It still doesn't work after doing that.

Return to “Troubleshooting”

Who is online

Users browsing this forum: drgeoff and 51 guests