luci-mod-network: DNS - support filtering A or AAAA records
authorHannu Nyman <hannu.nyman@iki.fi>
Sat, 12 Nov 2022 18:54:59 +0000 (20:54 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Sat, 12 Nov 2022 18:54:59 +0000 (20:54 +0200)
commit20b765c77b479d1265fd7770b285addceabae32e
tree14370447e39f0ca674b03436852d238a626adb9a
parent93f65e92b29741c4d83e4e81d567c5765f58358b
luci-mod-network: DNS - support filtering A or AAAA records

Support Dnsmasq 2.87-5 feature to filter DNS results:
* remove IPv6 AAAA records and return only IPv4 addresses
* remove IPv4 A records and return only IPv6 addresses

Especially the removal of IPv6 AAAA records can be useful with
ISPs that provide IPv6 address resolving but do not actually
offer IPv6 routing/connectivity.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js