mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-29 14:49:31 +01:00
systemd-networkd: list local DNS resolvers
This commit is contained in:
parent
44b6e5b618
commit
02c434b81b
@ -25,9 +25,9 @@ IPv6LinkLocalAddressGenerationMode=stable-privacy
|
|||||||
# DNS has no effect unless systemd-resolved is used. Why would it be used?
|
# DNS has no effect unless systemd-resolved is used. Why would it be used?
|
||||||
# systemctl enable systemd-resolved && systemctl start systemd-resolved
|
# systemctl enable systemd-resolved && systemctl start systemd-resolved
|
||||||
# ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
|
# ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
|
||||||
#DNS=127.0.0.1
|
DNS=::1
|
||||||
#DNS=::1
|
DNS=127.0.0.1
|
||||||
#DNS=8.8.4.4
|
DNS=127.0.0.53
|
||||||
#DNSSEC=true
|
#DNSSEC=true
|
||||||
#DNSSEC=allow-downgrade
|
#DNSSEC=allow-downgrade
|
||||||
#DNSOverTLS=true
|
#DNSOverTLS=true
|
||||||
|
@ -19,6 +19,9 @@ Multicast=true
|
|||||||
DHCP=true
|
DHCP=true
|
||||||
IPv6PrivacyExtensions=true
|
IPv6PrivacyExtensions=true
|
||||||
IPv6LinkLocalAddressGenerationMode=stable-privacy
|
IPv6LinkLocalAddressGenerationMode=stable-privacy
|
||||||
|
DNS=::1
|
||||||
|
DNS=127.0.0.1
|
||||||
|
DNS=127.0.0.53
|
||||||
# Enable mDNS/.local for systemd-resolved
|
# Enable mDNS/.local for systemd-resolved
|
||||||
MulticastDNS=true
|
MulticastDNS=true
|
||||||
# Windows
|
# Windows
|
||||||
|
Loading…
Reference in New Issue
Block a user