[Dnsmasq-discuss] filter-AAAA is breaking dnsmasq

E encoding at riseup.net
Mon Oct 11 02:13:10 UTC 2021

Thanks for your reply!

> dnsmasq --help | grep -i filter to see if the option exists.

# dnsmasq --help | grep -i filter
-f, --filterwin2k                                      Don't forward
spurious DNS requests from Windows hosts.
    --filter-A                                         Don't include
IPv4 addresses in DNS answers.
    --filter-AAAA                                      Don't include
IPv6 addresses in DNS answers.
    --stop-dns-rebind                                  Stop DNS
rebinding. Filter private IP ranges when resolving.
    --connmark-allowlist-enable[=<mask>]               Enable filtering
of DNS queries with connection-track marks

It does exist (and it should be - I pulled git & make & make install it)

# which dnsmasq

# dnsmasq --version
Dnsmasq version 2.87test4-1-g37a70d3

# dnsmasq
dnsmasq: unsupported option at line 12 of /etc/dnsmasq.conf

# service dnsmasq restart
Job for dnsmasq.service failed because the control process exited with
error code

# systemctl status dnsmasq.service
]: bad option at line 24 of /etc/dnsmasq.conf


More information about the Dnsmasq-discuss mailing list