# HG changeset patch # User drewp@bigasterisk.com # Date 1690779361 25200 # Node ID b1e897c9e5c3fd4275d4cb411c8c3d60a0331050 # Parent 5b7cd39e6504eaddd3bc77605d0422fb93c13627 let net_routes write a file of hostnames to dns-fail diff -r 5b7cd39e6504 -r b1e897c9e5c3 templates/dnsmasq/dnsmasq.conf.j2 --- a/templates/dnsmasq/dnsmasq.conf.j2 Sat Jul 22 12:07:47 2023 -0700 +++ b/templates/dnsmasq/dnsmasq.conf.j2 Sun Jul 30 21:56:01 2023 -0700 @@ -21,6 +21,7 @@ neg-ttl=60 dns-forward-max=1000 domain=bigasterisk.com + # log-queries # log-debug @@ -52,3 +53,6 @@ # use ./hosts, then try the server that knows the dhcp leases server={{ router }} {% endif %} + +# written by net_routes/dns_blocker.py +addn-hosts=/opt/dnsmasq/10.2/dynamic-blocking