There doesn't appear to be a way to change the filter-A or filter-AAAA parameters at runtime, after the config is loaded / cmdline params are parsed. In some cases[1], I want to conditionally enable/disabling these options at runtime. Is this patch to make this configurable via dbus acceptable? Or is there some other way to achieve this using dnsmasq that I've missed?
1. Without getting too much into the specific situation I'm trying to address: I'm trying to work around a problem on a multi-homed device, where there's a "preferred" connection and multiple lower-priority connections. In cases where the preferred connection only supports 1 IP protocol (e.g. ipv4), DNS responses with AAAA records might send traffic over a lower priority connection, which is not desired. Using filter-AAAA in this situation does solve it, but sometimes the preferred connection changes and ends up "supporting" different IP versions, and restarting dnsmasq each time (e.g. to rerun with --filter-A or whatever) is not desirable. Clayton Craft (1): dbus: allow setting filter-A and filter-AAAA options dbus/DBus-interface | 8 ++++++++ src/dbus.c | 14 ++++++++++++++ 2 files changed, 22 insertions(+) -- 2.39.1 _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss