summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRonan Pigott <ronan@rjp.ie>2024-08-21 15:59:22 +0200
committerRonan Pigott <ronan@rjp.ie>2024-08-21 15:59:22 +0200
commitbebec8865375011cf74d3c23363d37c9ebec5c4d (patch)
tree0cf47975643d7023c97b6cb105393b2d4999f069 /src
parentRevert "cgroup-util: Don't try to open pidfd for kernel threads" (diff)
downloadsystemd-bebec8865375011cf74d3c23363d37c9ebec5c4d.tar.xz
systemd-bebec8865375011cf74d3c23363d37c9ebec5c4d.zip
Revert "resolved: demote the global unicast scope"
This commit may have been a breaking change for sd-resolved foreign resolv.conf mode, where a legacy network management daemon directly modifies resolv.conf and sd-resolved consumes that. This reverts commit eded61e410dfa6c16ae68cb624c58122fb18fd0e.
Diffstat (limited to 'src')
-rw-r--r--src/resolve/resolved-dns-scope.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/resolve/resolved-dns-scope.c b/src/resolve/resolved-dns-scope.c
index 3bb7c0aa21..21b9844e04 100644
--- a/src/resolve/resolved-dns-scope.c
+++ b/src/resolve/resolved-dns-scope.c
@@ -778,8 +778,7 @@ DnsScopeMatch dns_scope_good_domain(
if (!dns_scope_is_default_route(s))
return DNS_SCOPE_NO;
- /* Prefer suitable per-link scopes where possible */
- return s->link ? DNS_SCOPE_MAYBE : DNS_SCOPE_LAST_RESORT;
+ return DNS_SCOPE_MAYBE;
}
case DNS_PROTOCOL_MDNS: {