openwrt/package
Felix Tailor 6c1e29422e
dnsmasq: fix resolv.conf for round-robin DNS configuration
Adds the ability to configure what types of addresses (IPv4/IPv6)
are used in resolv.conf to query the local nameserver.
This is achieved by using 'add_local_ipv4_nameserver' and
'add_local_ipv6_nameserver' options in dhcp config file,
dnsmasq configuration section.

Default behavior change:
Now only one localhost IPv4 address is used in resolv.conf
to query the local nameserver instead of IPv4 and IPv6
localhost addresses (127.0.0.1 and ::1).

Fixes resolv.conf to not query the same nameserver twice.
Querying the same nameserver twice introduces issues
with answers for records that have multiple IP values.
Those types of records are used for high availability
by utilizing round-robin DNS for client side load balancing.

Additional information on how musl libc resolver works:

Name Resolver/DNS section:
https://wiki.musl-libc.org/functional-differences-from-glibc.html

Comments from the lead developer of musl libc Rich Felker:
https://www.openwall.com/lists/musl/2022/07/11/1

Fixes: https://github.com/openwrt/openwrt/issues/10278

Signed-off-by: Felix Tailor <felix.tailor@pm.me>
2022-07-23 22:49:08 +03:00
..
base-files failsafe: run on all consoles listed in /proc/cmdline 2022-06-19 12:40:30 +02:00
boot layerscape: update remaining PKG_HASH / PKG_MIRROR_HASH 2022-07-22 22:03:27 +02:00
devel strace: add nls.mk 2022-07-15 07:07:59 +02:00
firmware layerscape: update remaining PKG_HASH / PKG_MIRROR_HASH 2022-07-22 22:03:27 +02:00
kernel kernel: netconsole: add network console logging support 2022-07-17 14:18:42 +02:00
libs wolfssl: Do not activate HW acceleration on armvirt by default 2022-07-20 17:02:45 +02:00
network dnsmasq: fix resolv.conf for round-robin DNS configuration 2022-07-23 22:49:08 +03:00
system nu801: fix DEPENDS on bcm53xx 2022-07-17 13:43:48 +02:00
utils ramips: add support for ZyXEL NWA50AX / NWA55AXE 2022-07-20 21:52:06 +02:00
Makefile build: fix opkg install step for large package selection 2021-05-12 11:13:53 +02:00