[Dnsmasq-discuss] notracking hostnames.txt

Simon Kelley simon at thekelleys.org.uk
Tue Jun 15 15:29:25 UTC 2021


On 08/06/2021 10:05, Matthias Bodenbinder via Dnsmasq-discuss wrote:
> Hello,
> 
> I have a question about the notracking blocklists in combination with dnsmasq. I have already created an issue on the notracking
> issue tracker but did not receive an answer yet: https://github.com/notracking/hosts-blocklists/issues/596
> 
> The instructions for notracking blocklists distinguish between dnsmasq (old: pre v2.80) and newer versions. In addition to the
> domains.txt file notracking also provides a hostnames.txt file. But this hostnames.txt file should only be used with dnsmasq (old:
> pre v2.80):
> 
> https://github.com/notracking/hosts-blocklists/wiki/Install-dnsmasq
> https://github.com/notracking/hosts-blocklists/wiki/Install-dnsmasq-(old:-pre-v2.80)
> 
> Why is that? 

Because the address=/0--e.info/# syntax (which returns all-zero
addresses for both IPv4 and IPV6 was only added to dnsmasq in version
2.80. (There's a CHANGELOG file included with dnsmasq that tells you this.)


Cheers

Simon.

> 
> domains.txt example:
> --------------------
> address=/0--e.info/#
> address=/0-0.fr/#
> address=/0-100-pool.abseits.ski/#
> 
> 
> hostnames.txt example:
> ----------------------
> 0.0.0.0 0-100-pool.abseits.ski
> :: 0-100-pool.abseits.ski
> 0.0.0.0 0-173.openvpn.www.eth.bw.com
> :: 0-173.openvpn.www.eth.bw.com
> 0.0.0.0 0-215-5.api.btcc.com
> :: 0-215-5.api.btcc.com
> 
> 
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
> 




More information about the Dnsmasq-discuss mailing list