scripts/20-wired.network

28 lines
517 B
SYSTEMD

[Match]
Name=enp1s0
[Network]
Description=Router
# Routing
Address=192.168.1.2/24
Address=2605:a000:1135:c4::2/64
Gateway=192.168.1.1
Gateway=fe80::daa7:56ff:fe95:94b2
# DNS Options (enable everything)
MulticastDNS=true
DNSOverTLS=opportunistic
DNSSEC=allow-downgrade
Domains=~
# Cloudflare
DNS=2606:4700:4700::1111
DNS=2606:4700:4700::1001
# Last try - Google DNS
DNS=2001:4860:4860::8888
DNS=2001:4860:4860::8844
# Geez, did this asshole not configure IPv6?
DNS=1.1.1.1
DNS=1.0.0.1
# Ditto
DNS=8.8.8.8
DNS=8.8.4.4