mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-11 07:22:54 +00:00
6c1e29422e
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> |
||
---|---|---|
.. | ||
base-files | ||
boot | ||
devel | ||
firmware | ||
kernel | ||
libs | ||
network | ||
system | ||
utils | ||
Makefile |