From b905a19caa93641f936202e3b0f5f86eb8b38670 Mon Sep 17 00:00:00 2001 From: ORG_User Date: Sun, 12 May 2024 00:04:14 +0200 Subject: [PATCH] Wiki page unbound changed with summary [deleted sudo to be consistent with other tutorials] by Dan --- pages/en/server/services/unbound.txt | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pages/en/server/services/unbound.txt b/pages/en/server/services/unbound.txt index 05a340f..7bd3346 100644 --- a/pages/en/server/services/unbound.txt +++ b/pages/en/server/services/unbound.txt @@ -5,13 +5,13 @@ ===== Package ===== -sudo pacman -S unbound expat +pacman -S unbound expat ===== Configuration ===== -sudo nano /etc/unbound/unbound.conf +nano /etc/unbound/unbound.conf server: @@ -75,8 +75,9 @@ curl --output /etc/unbound/root.hints https://www.internic.net/domain/named.cach -sudo nano /etc/systemd/system/roothints.service +nano /etc/systemd/system/roothints.service + [Unit] Description=Update root hints for unbound @@ -87,8 +88,9 @@ ExecStart=/usr/bin/curl -o /etc/unbound/root.hints https://www.internic.net/doma -sudo nano /etc/systemd/system/roothints.timer +nano /etc/systemd/system/roothints.timer + [Unit] Description=Run root.hints monthly @@ -104,20 +106,21 @@ WantedBy=timers.target ===== Start ===== -sudo systemctl enable --now unbound.service roothints.timer +systemctl enable --now unbound.service roothints.timer ===== Local DNS via NetworkManager ===== -sudo nano /etc/NetworkManager/conf.d/dns-servers.conf +nano /etc/NetworkManager/conf.d/dns-servers.conf + [global-dns-domain-*] servers=127.0.0.1 -sudo systemctl restart NetworkManager.service +systemctl restart NetworkManager.service ===== DNSCrypt proxy =====