Skip to content

Commit 484bc76

Browse files
committed
Linux: set Domains= in systemd.network interface config
This enables use of the given domain as a search and routing domain. See systemd.network(5). Without this, single-label names don't have the search domain appended when resolving with systemd-resolved.
1 parent c4d21b9 commit 484bc76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

data/kernel/Linux.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ systemd::networks:
139139
140140
[Network]
141141
DHCP=yes
142+
Domains=%{trusted.domain}
142143
EmitLLDP=yes
143144
LLDP=yes
144145
MulticastDNS=yes

0 commit comments

Comments
 (0)