IngoZenz / personaldnsfilter

See http://www.zenz-solutions.de/personaldnsfilter for details
GNU General Public License v2.0
645 stars 55 forks source link

ipv4 mapped ipv6 DNS filtering possible ? #307

Open foxjaw opened 4 months ago

foxjaw commented 4 months ago

I have tested the ipv4 mapped ipv6 syntax but it doesn't seem to work. I wanna block both sorts of websites caz my host filters contain websites that use both.

Unfortunately the app supports only one DNS protocol at a time.

IngoZenz commented 4 months ago

I do not really get the problem. What is the ipv4 mapped ipv6 syntax? Please share more details on what you are doing and the configuration.

foxjaw commented 4 months ago

Basically this. https://notes.networklessons.com/ipv6-ipv4-mapped-ipv6-address

The syntax is ::FFFF:w.x.y.z which uses ipv6 as first priority then ipv4 as 2nd.
If I wanna use adguard dns let's say. I should be using their ipv4 mapped ipv6 in order to filter ads from both kinds of websites.
https://adguard-dns.io/kb/general/dns-providers
I did try 2a10:50c0::ad1:ff:94.140.14.14 with no luck.

IngoZenz commented 4 months ago

I think this won't work in pDNSf. Root mode also does not support dns requests via IPv6. Just add the ipV4 and ipV6 dns addresses. In case a host is part of the filters, pDNSf will block both - ipV4 and ipV6 dns resolution requests.