Mercurial > code > home > repos > infra
changeset 210:b1e897c9e5c3
let net_routes write a file of hostnames to dns-fail
author | drewp@bigasterisk.com |
---|---|
date | Sun, 30 Jul 2023 21:56:01 -0700 |
parents | 5b7cd39e6504 |
children | adb34a04ca43 |
files | templates/dnsmasq/dnsmasq.conf.j2 |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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