mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-23 03:02:52 +01:00
Revert "systemd-networkd: attempt to deduplicate by cutting into 10-global.network"
This reverts commit 19b6fbef3c
.
This commit is contained in:
parent
06787a38de
commit
945ca0462d
@ -1,4 +1,5 @@
|
||||
[Match]
|
||||
#Name=*
|
||||
# Can be {colon,hyphen,dot}-delimited hexadecimal or IPv{4,6} address
|
||||
#MACAddress=
|
||||
Type=ether
|
||||
@ -11,11 +12,27 @@ RequiredForOnline=false
|
||||
RequiredFamilyForOnline=both
|
||||
# Always set administrative state to up. Implies RequiredForOnline=true
|
||||
#ActivationPolicy=always-up
|
||||
# Required for mDNS
|
||||
Multicast=true
|
||||
|
||||
[Network]
|
||||
#DHCP=true
|
||||
# /24, /16, /8 are the the class C, B, A networks
|
||||
Address=192.168.0.2/24
|
||||
Gateway=192.168.0.1
|
||||
#DNS=
|
||||
#NTP=
|
||||
IPv6PrivacyExtensions=true
|
||||
IPv6LinkLocalAddressGenerationMode=stable-privacy
|
||||
# DNS has no effect unless systemd-resolved is used. Why would it be used?
|
||||
# systemctl enable systemd-resolved && systemctl start systemd-resolved
|
||||
# ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
|
||||
#DNS=127.0.0.1
|
||||
#DNS=::1
|
||||
#DNS=8.8.4.4
|
||||
# Enable systemd-timesyncd with `timedatectl set-ntp true`, may be specified
|
||||
# multiple times, but you are using Chrony instead, right?
|
||||
#NTP=fi.pool.ntp.org
|
||||
#NTP=time.cloudflare.com
|
||||
# Enable mDNS/.local for systemd-resolved
|
||||
MulticastDNS=true
|
||||
# Windows
|
||||
LLMNR=true
|
||||
|
@ -1,32 +0,0 @@
|
||||
[Match]
|
||||
Name=*
|
||||
|
||||
[Link]
|
||||
# required for mDNS
|
||||
Multicast=true
|
||||
|
||||
[Network]
|
||||
# Enable privacy extensions
|
||||
IPv6PrivacyExtensions=true
|
||||
IPv6LinkLocalAddressGenerationMode=stable-privacy
|
||||
# systemd-resolved configuration
|
||||
DNSSEC=true
|
||||
#DNSSEC=allow-downgrade
|
||||
DNSOverTLS=true
|
||||
#DNSOverTLS=opportunistic
|
||||
# Search domains
|
||||
Domains=.
|
||||
# Enable mDNS/.local for systemd-resolved
|
||||
MulticastDNS=true
|
||||
# Windows
|
||||
LLMNR=true
|
||||
# DNS has no effect unless systemd-resolved is used. Why would it be used?
|
||||
# systemctl enable systemd-resolved && systemctl start systemd-resolved
|
||||
# ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
|
||||
#DNS=127.0.0.1
|
||||
#DNS=::1
|
||||
#DNS=8.8.4.4
|
||||
# Enable systemd-timesyncd with `timedatectl set-ntp true`, may be specified
|
||||
# multiple times, but you are using Chrony instead, right?
|
||||
#NTP=fi.pool.ntp.org
|
||||
#NTP=time.cloudflare.com
|
@ -17,3 +17,9 @@ Multicast=true
|
||||
|
||||
[Network]
|
||||
DHCP=true
|
||||
IPv6PrivacyExtensions=true
|
||||
IPv6LinkLocalAddressGenerationMode=stable-privacy
|
||||
# Enable mDNS/.local for systemd-resolved
|
||||
MulticastDNS=true
|
||||
# Windows
|
||||
LLMNR=true
|
||||
|
Loading…
Reference in New Issue
Block a user