aboutsummaryrefslogtreecommitdiff
path: root/etc/resolv.conf
blob: eacbeb77d4a319baef13d5a3b6072330bd366d68 (plain) (blame)
1
2
3
4
5
6
#!/bin/sh

sudo systemctl enable systemd-resolved.service
sudo systemctl start systemd-resolved.service
sudo rm /etc/resolv.conf
sudo ln -sf  /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf