NetworkManager/src/core/dns
Beniamino Galvani 7447c1c202 dns: add options to control automatic addition of edns0 and trust-ad
Options "edns0" and "trust-ad" are automatically added when using
caching plugins such as dnsmasq and systemd-resolved. In some cases,
those options can break resolution due to non-conforming resolvers,
and there is no way to disable them.

Introduce new options "_no-add-edns0" and "_no-add-trust-ad" to
prevent the automatic addition of "edns0" and "trust-ad". The initial
underscore indicates that the option is internal and is not written
into resolv.conf.

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1393
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1751
2023-11-14 08:34:58 +01:00
..
nm-dns-dnsmasq.c dns/dnsmasq: do not use --dnssec-proxy by default 2023-06-07 21:46:04 +02:00
nm-dns-dnsmasq.h all: use _NM_G_TYPE_CHECK_INSTANCE_CAST() for internal uses 2022-12-16 10:55:03 +01:00
nm-dns-manager.c dns: add options to control automatic addition of edns0 and trust-ad 2023-11-14 08:34:58 +01:00
nm-dns-manager.h emit DNS CONFIG_CHANGED signal even dns=none 2023-09-26 15:00:32 +08:00
nm-dns-plugin.c dns: add "update-pending" state to NMDnsPlugin 2022-04-15 09:04:29 +02:00
nm-dns-plugin.h all: use _NM_G_TYPE_CHECK_INSTANCE_CAST() for internal uses 2022-12-16 10:55:03 +01:00
nm-dns-systemd-resolved.c all: use nm_g_array_first()/nm_g_array_first_p() where suitable 2022-12-09 09:15:53 +01:00
nm-dns-systemd-resolved.h all: use _NM_G_TYPE_CHECK_INSTANCE_CAST() for internal uses 2022-12-16 10:55:03 +01:00