desktop: Use systemd resolved
This commit is contained in:
parent
77d64c4101
commit
5a196d44a1
3
desktop/dns.caspervk.net.conf
Normal file
3
desktop/dns.caspervk.net.conf
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[Resolve]
|
||||||
|
DNS=159.69.4.2#dns.caspervk.net
|
||||||
|
DNSOverTLS=yes
|
|
@ -22,8 +22,9 @@ sudo apt install -y \
|
||||||
|
|
||||||
|
|
||||||
# DNS
|
# DNS
|
||||||
sudo rm /etc/resolv.conf # clear potential symlink
|
sudo mkdir -p /etc/systemd/resolved.conf.d/
|
||||||
echo "nameserver 159.69.4.2" | sudo tee /etc/resolv.conf
|
sudo cp desktop/dns.caspervk.net.conf /etc/systemd/resolved.conf.d/dns.caspervk.net.conf
|
||||||
|
sudo systemctl restart systemd-resolved.service
|
||||||
|
|
||||||
|
|
||||||
# KDE Connect
|
# KDE Connect
|
||||||
|
|
Reference in a new issue