systemd-networkd: list local DNS resolvers

This commit is contained in:
Aminda Suomalainen 2024-04-22 12:59:38 +03:00
parent 44b6e5b618
commit 02c434b81b
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 6 additions and 3 deletions

View File

@ -25,9 +25,9 @@ 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
DNS=::1
DNS=127.0.0.1
DNS=127.0.0.53
#DNSSEC=true
#DNSSEC=allow-downgrade
#DNSOverTLS=true

View File

@ -19,6 +19,9 @@ Multicast=true
DHCP=true
IPv6PrivacyExtensions=true
IPv6LinkLocalAddressGenerationMode=stable-privacy
DNS=::1
DNS=127.0.0.1
DNS=127.0.0.53
# Enable mDNS/.local for systemd-resolved
MulticastDNS=true
# Windows