network: make use of LocalLeaseDomain= by default

Let's expose local VMs/containers under ._dhcp by default. Let's also
expose WIFI AP clients under .home.arpa (i.e. the RFC8375 domain for
home networks).
This commit is contained in:
Lennart Poettering
2025-10-13 11:42:25 +02:00
parent 5615ac1f0d
commit ec9ec7fa3a
6 changed files with 8 additions and 0 deletions

View File

@@ -30,3 +30,4 @@ IPv6SendRA=yes
[DHCPServer] [DHCPServer]
PersistLeases=runtime PersistLeases=runtime
LocalLeaseDomain=_dhcp

View File

@@ -29,3 +29,4 @@ IPv6SendRA=yes
[DHCPServer] [DHCPServer]
PersistLeases=runtime PersistLeases=runtime
LocalLeaseDomain=_dhcp

View File

@@ -30,3 +30,4 @@ IPv6SendRA=yes
[DHCPServer] [DHCPServer]
PersistLeases=runtime PersistLeases=runtime
LocalLeaseDomain=_dhcp

View File

@@ -30,3 +30,4 @@ IPv6SendRA=yes
[DHCPServer] [DHCPServer]
PersistLeases=runtime PersistLeases=runtime
LocalLeaseDomain=_dhcp

View File

@@ -29,3 +29,4 @@ IPv6SendRA=yes
[DHCPServer] [DHCPServer]
PersistLeases=runtime PersistLeases=runtime
LocalLeaseDomain=_dhcp

View File

@@ -19,3 +19,6 @@ DHCPServer=yes
IPMasquerade=both IPMasquerade=both
IPv6AcceptRA=no IPv6AcceptRA=no
IPv6SendRA=yes IPv6SendRA=yes
[DHCPServer]
LocalLeaseDomain=home.arpa