foopus
[feisty_meow.git] / infobase / configuration / dns / restore_resolv.conf.sh
diff --git a/infobase/configuration/dns/restore_resolv.conf.sh b/infobase/configuration/dns/restore_resolv.conf.sh
new file mode 100644 (file)
index 0000000..7fca734
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+# gets rid of any customized resolv.conf file for the local machine and reinstates the standard link for it.
+
+sudo rm /etc/resolv.conf
+sudo ln -s /var/run/resolvconf/resolv.conf /etc/resolv.conf
+sudo resolvconf -u