[Dnsmasq-discuss] filter-AAAA is breaking dnsmasq
Neal P. Murphy
neal.p.murphy at alum.wpi.edu
Mon Oct 11 06:13:51 UTC 2021
Good. The binary *claims* to support the options.
Try 'od -c /etc/dnsmasq.conf' to see if there are any 'alien' characters in the config file (like '\r' or formfeed, etc.)
And try 'dnsmasq --filter-AAAA' to see if it works from the command line. If this fails, dnsmasq is likely to be the source of the problem.
You might even try '--filter-aaa' and/or '--filter-a' to see if there's a case sensitivity problem.
N
On Sun, 10 Oct 2021 19:13:10 -0700
E <encoding at riseup.net> wrote:
> 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
> /usr/local/sbin/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
>
>
> :'(
>
> _______________________________________________
> 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