dns: warn that the BIND plugin is experimental
It's still got a bunch of issues that need debugging, like when VPN nameservers exist but no domain and thus not doing split DNS, sometimes hosts outside the VPN don't resolve correctly, which was previously masked by having the non-VPN nameservers in /etc/resolv.conf where glibc would erroneously use them instead of asking BIND. To be fixed in a subsequent patch. The dnsmasq plugin seems to work great though.
This commit is contained in:
@@ -1007,9 +1007,10 @@ load_plugins (NMDnsManager *self, const char **plugins)
|
||||
for (iter = plugins; iter && *iter; iter++) {
|
||||
if (!strcasecmp (*iter, "dnsmasq"))
|
||||
plugin = NM_DNS_PLUGIN (nm_dns_dnsmasq_new ());
|
||||
else if (!strcasecmp (*iter, "bind"))
|
||||
else if (!strcasecmp (*iter, "bind")) {
|
||||
plugin = NM_DNS_PLUGIN (nm_dns_bind_new ());
|
||||
else {
|
||||
nm_log_warn (LOGD_DNS, "The BIND plugin is experimental!");
|
||||
} else {
|
||||
nm_log_warn (LOGD_DNS, "Unknown DNS plugin '%s'", *iter);\
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user