aboutsummaryrefslogtreecommitdiff
path: root/etc/resolv.conf
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2021-12-21 15:04:59 -0500
committerRyan Kavanagh <rak@rak.ac>2021-12-22 21:18:39 -0500
commit03593964f9dc6a74c40073460b2dce637876247f (patch)
treec271db00ccb70e9d122d011b8d3f2fb4b59b01c1 /etc/resolv.conf
parentswitch inconsolata font on openbsd (diff)
systemd-resolved
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