Last active
May 17, 2019 15:43
-
-
Save msnelling/9fb8fdb0274b20805b5937b921e2b125 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo nameserver 127.0.0.1 > /etc/resolvconf/resolv.conf.d/base | |
rm -f /etc/resolv.conf | |
ln -sf /run/resolvconf/resolv.conf /etc/resolv.conf | |
resolvconf --enable-updates | |
resolvconf -u | |
systemctl disable systemd-resolved.service | |
systemctl stop systemd-resolved.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment