The best package to encrypt your DNS traffic

Test to know if DoH or DoT is working:


Static leases in Unbound:

uci add dhcp host
uci set dhcp.@host[-1].name="mydesktop"
uci set dhcp.@host[-1].ip="192.168.1.22"
uci set dhcp.@host[-1].mac="00:11:22:33:44:55"
uci commit dhcp
/etc/init.d/odhcpd restart


More information:


I also tried this recommendation in Adblock and I still have network slowdown problems (excluding Unbound) with any of the 3 packages used above to encrypt DNS traffic.

WaLLy3K:

The address directive of dnsmasq is horribly inefficient. > The best option is addn-hosts:

Additional hosts file. Read the specified file as well as /etc/hosts. If --no-hosts is given, read only the specified file. This option may be repeated for more than one additional hosts file. If a directory is given, then read all the files contained in that directory.

Pi-hole uses a slightly modified fork of dnsmasq as its backend, and can easily handle 3m domains on RPi-like hardware using this method.

iio7:

I am running dnsmasq on a quad core Intel Celeron 2GHz CPU with 2 GB of memory.

UPDATE: I tried converting the list to Unbound and run with that. Unbound timed out loading the list. I then decreased the list to about 250.000 entries, then Unbound started, but answered the above query in 3376 msec. So that's a LOT slower than dnsmasq. Perhaps expecting better response times with dnsmasq is too much with such a big list?

UPDATE: With the addn-hosts directive suggested by @WaLLy3K Dnsmasq now blows through the roof! Amazing!

I will repeat it again, Unbound is the best.