3 ms·
AFAIK dnsmasq (which Pi-hole uses) doesn't support wildcards. However Pi-hole does import hugely extensive lists of domains so you'll unlikely to need wildcard
by hnlmorg 9y ago
AFAIK dnsmasq (which Pi-hole uses) doesn't support wildcards. However Pi-hole does import hugely extensive lists of domains so you'll unlikely to need wildcard matching anyway.
Pi-hole is just dnsmasq plus a whole bunch of 3rd party curated lists of bad domains and some helper scripts. It's obviously the helper scripts that give Pi-hole its value but equally it's very easy to build your own equivalent. Which is useful if you think you need something beefier to host it than a Raspberry Pi.
Disclaimer: I have built my own Pi-hole equivalent - a few years before Pi-hole was first released in fact.
As for you questions about which content gets blocked, my server has successfully been blocking the stuff you described (see caveat below). In fact it was so successful at blocking IoT telemetry that it highlighted a weird bug on Sky+ HD set top boxes where they refused to boot if they couldn't phone home when connected over ethernet.
Caveat: I don't run Windows so cannot comment about the Win 10 telemetry data.
- jasode 9y ago>AFAIK dnsmasq (which Pi-hole uses) doesn't support wildcards. There seems to be conflicting information about wildcards but I thought the feature was added this year: https://github.com/pi-hole/pi-hole/pull/1065 https://github.com/pi-hole/pi-hole/pull/1065 >However Pi-hole does import hugely extensive lists of domains so you'll unlikely to need wildcard matching anyway. I liked the power of wildcards because the ad and malware networks always add new subdomains faster than the updating and propagating of static hosts lists. Example might be: 0.0.0.0 ads.zedo.com 0.0.0.0 c1.zedo.com 0.0.0.0 c2.zedo.com 0.0.0.0 c3.zedo.com 0.0.0.0 c4.zedo.com 0.0.0.0 c5.zedo.com 0.0.0.0 c6.zedo.com 0.0.0.0 c7.zedo.com 0.0.0.0 c8.zedo.com 0.0.0.0 d2.zedo.com 0.0.0.0 d3.zedo.com If zedo.com adds new subdomains "c9.zedo.com" and "d4.zedo.com", the static list lets the ads through until I update the lists. Wildcards such as "* .zedo.com" are an elegant syntax to stop that loophole. >cannot comment about the Win 10 telemetry data. Btw, I mentioned MS Win 10 because Microsoft added code at the kernel level that ignores manual entries edded to /etc/hosts file so it can still phone home. Therefore, only a firewall device that lives outside of Win 10 can block it. (https://www.petri.com/windows-10-ignoring-hosts-file-specific-name-resolution https://www.petri.com/windows-10-ignoring-hosts-file-specifi...)
- hnlmorg 9y agoAhh cool. Wasn't aware you could do wildcards. I might have to have another play with dnsmasq tonight :)