mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-29 03:10:25 +00:00
7 lines
267 B
Text
7 lines
267 B
Text
#run these commands to fix port bind error
|
|
|
|
sudo sed -r -i.orig 's/#?DNSStubListener=yes/DNSStubListener=no/g' /etc/systemd/resolved.conf
|
|
|
|
sudo sh -c 'rm /etc/resolv.conf && ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf'
|
|
|
|
systemctl restart systemd-resolved
|