openwrt/package/network
Paul Donald 9857b41fe9 dnsmasq: add handling of filter-rr to init script
dnsmasq v2.90 introduced `--filter-rr=<rrtype>[,<rrtype>...]`.

uci config usage:

config dnsmasq
    ...
    option filter_rr 'AAAA,CNAME,NXDOMAIN,SRV,...'

The dnsmasq instance internally builds a linked list of RR to filter
from the individually supplied parameters, so it's harmless to provide
synonyms:

... --filter-A --filter-rr=A ...

See https://forum.openwrt.org/t/resolving-query-type-65-to-local-address-for-ios-clients-in-dnsmasq/179504/23

Tested on: 23.05.2

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
Tested-by: Vladimir Kochkovski <ask@getvladimir.com>
Link: https://github.com/openwrt/openwrt/pull/14975
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-10-20 21:56:16 +02:00
..
config hostapd: add support for SAE in PPSK option 2024-10-20 19:27:08 +02:00
ipv6 6in4: add 'nohostroute' option 2024-09-22 16:28:52 +02:00
services dnsmasq: add handling of filter-rr to init script 2024-10-20 21:56:16 +02:00
utils iptables: backport "nft: track each register individually" from 1.9 2024-10-19 19:42:37 +02:00