pihole on unraid not blocking ads with pfsense
-
why is your pihole coming back with 14619edbadac as a name??? WTF?
Well try doing a query for something that is blocked? say doubleclick.net should be on pretty much any blocklists your using
$ nslookup doubleclick.net Server: pi-hole.local.lan Address: 192.168.3.10 Name: doubleclick.net Addresses: :: 0.0.0.0
Are you seeing queries from all your devices - just because you change your dhcp to point to pihole, doesn't mean that the clients got the new info yet. They will only get that once they renew their lease, etc.
Also what block lists are you using? If you validate pihole blocks stuff that should be blocked then its working. Its possible your clients browsers are using their own dns as well, freaking doh nonsense - and not using your local dns.
Also your machines and browsers will cache for the length of the ttl records... So if they looked up something.shouldbeblock.tld and cached it.. before you put in pihole, they would just use their cache vs asking pihole for the ip..
Also possible your clients are using ipv6 for their dns, and not pointing to pihole - and using ipv6 vs ipv4 to look up stuff
-
@johnpoz could be because its in a docker! sorry forgot to say that! im running OMV and pi hole is in the docker
nslookup doubleclick.net Server: 14619edbadac Address: 10.0.0.222 Name: doubleclick.net Addresses: :: 0.0.0.0
Looks good?
-
See my edit about your clients maybe using ipv6 for dns vs ipv4 that points to pihole.
even if in a docker, your 10.0.0.222 should resolve to something valid, you would set that.
-
This post is deleted! -
@johnpoz Okay ipv6 is of and my IPS doesn't use it.
I meant the weird name for the server it looks like a docker name lol
Client Requests Frequency 10.0.0.16 65 10.0.0.68 62 10.0.0.12 54 10.0.0.15 24 10.0.0.14 23 10.0.0.13 9 10.0.0.11 9
Seems to be working now just wish it would show the hostname not the IPs
-
Yea shes working John Thanks again. Seems my setting was correct for once.
Do you use the Conditional Forwarding option in Pihole John? if so how do you use it I put the IP and pfsense host name in there but its still not showing the hostnames.
-
@Mike34 said in pihole on unraid not blocking ads with pfsense:
Conditional Forwarding option in Pihole John? if so how do you use it I put the IP and pfsense host name in there but its still not showing the hostnames.
I don't use it.. pihole sends everything to pfsense. I maintain all hosts in pfsense.
-
@johnpoz okay pal just find pihole easier to read thanks again John.
-
Yeah I filter all dns through pihole, because yeah its pretty eye candy. But for my local dns I host that in pfsense.. All my host names are handled by pfsense.. Any sort of host overrides I need to do, etc. just easier to do in pfsense.
pihole is just an ad filter.
-
@johnpoz I managed to add all host name by editing the host file on pihole and looking at the DHCP Leases on pfsense and match them up
Question now I have some ips showing on pihole 10.0.0.11 and 14. I have no clue what these are and they do not show in the DHCP Leases on pfsense?? where are these coming from shouldn't pf show all Leases on that page?