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:06:14 +0100
committerMichael Biebl <biebl@debian.org>2023-03-09 19:06:14 +0100
commitdfaaf221cfee4ffcc507d793dae051d402646679 (patch)
treec218fc9b1ef10cfa7d2acf0ce401b6d97db2401f /src/core/dns
parentb22a7b55d0bc5a7999dccaeacdde745f5ace9d66 (diff)
New upstream version 1.42.4 upstream/1.42.4
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);
     }