diff options
Diffstat (limited to 'src/resolve')
-rw-r--r-- | src/resolve/resolved-dns-scope.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-scope.c b/src/resolve/resolved-dns-scope.c index 7b5580ffcc..1fa8401ed5 100644 --- a/src/resolve/resolved-dns-scope.c +++ b/src/resolve/resolved-dns-scope.c @@ -194,7 +194,7 @@ DnsScopeMatch dns_scope_test(DnsScope *s, const char *domain) { if (dns_name_endswith(domain, "254.169.in-addr.arpa") || dns_name_endswith(domain, "0.8.e.f.ip6.arpa")) return DNS_SCOPE_YES; - else if (dns_name_endswith(domain, "local") || + else if (dns_name_endswith(domain, "local") && !dns_name_single_label(domain)) return DNS_SCOPE_MAYBE; |