aboutsummaryrefslogtreecommitdiff
path: root/etc/resolv.conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xetc/resolv.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/resolv.conf b/etc/resolv.conf
new file mode 100755
index 0000000..eacbeb7
--- /dev/null
+++ b/etc/resolv.conf
@@ -0,0 +1,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