about summary refs log tree commit diff
path: root/src/core/dns
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2023-03-09 19:07:28 +0100
committerMichael Biebl <biebl@debian.org>2023-03-09 19:07:28 +0100
commit0829d7c18b0c99511de316ce551ed1930a400ca6 (patch)
tree3822530717417783d3d6ba9fb08309ed55982a32 /src/core/dns
parent22d6ee88e62404d127054bfee20c28da1ee324ce (diff)
parentdfaaf221cfee4ffcc507d793dae051d402646679 (diff)
Update upstream source from tag 'upstream/1.42.4'
Update to upstream version '1.42.4'
with Debian dir 0dae05faaf02396619ae5080a3de6ac980b94990
Diffstat (limited to 'src/core/dns')
-rw-r--r--src/core/dns/nm-dns-dnsmasq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/dns/nm-dns-dnsmasq.c b/src/core/dns/nm-dns-dnsmasq.c
index 8ae1bb96..05aeff49 100644
--- a/src/core/dns/nm-dns-dnsmasq.c
+++ b/src/core/dns/nm-dns-dnsmasq.c
@@ -922,7 +922,8 @@ create_update_args(NMDnsDnsmasq            *self,
 
     if (global_config)
         add_global_config(self, &servers, global_config);
-    else {
+
+    if (!global_config || !nm_global_dns_config_lookup_domain(global_config, "*")) {
         c_list_for_each_entry (ip_data, ip_data_lst_head, ip_data_lst)
             add_ip_config(self, &servers, ip_data);
     }