Wiki page unbound changed with summary [deleted sudo to be consistent with other tutorials] by Dan
This commit is contained in:
parent
b9b69c2611
commit
9ea358caf7
1 changed files with 12 additions and 7 deletions
|
@ -5,14 +5,15 @@
|
|||
===== Pakete =====
|
||||
|
||||
<code>
|
||||
sudo pacman -S unbound expat
|
||||
pacman -S unbound expat
|
||||
</code>
|
||||
|
||||
===== Konfiguration =====
|
||||
|
||||
<code>
|
||||
sudo nano /etc/unbound/unbound.conf
|
||||
nano /etc/unbound/unbound.conf
|
||||
</code>
|
||||
|
||||
<code>
|
||||
server:
|
||||
# If no logfile is specified, syslog is used
|
||||
|
@ -75,8 +76,9 @@ curl --output /etc/unbound/root.hints https://www.internic.net/domain/named.cach
|
|||
</code>
|
||||
|
||||
<code>
|
||||
sudo nano /etc/systemd/system/roothints.service
|
||||
nano /etc/systemd/system/roothints.service
|
||||
</code>
|
||||
|
||||
<code>
|
||||
[Unit]
|
||||
Description=Update root hints for unbound
|
||||
|
@ -87,8 +89,9 @@ ExecStart=/usr/bin/curl -o /etc/unbound/root.hints https://www.internic.net/doma
|
|||
</code>
|
||||
|
||||
<code>
|
||||
sudo nano /etc/systemd/system/roothints.timer
|
||||
nano /etc/systemd/system/roothints.timer
|
||||
</code>
|
||||
|
||||
<code>
|
||||
[Unit]
|
||||
Description=Run root.hints monthly
|
||||
|
@ -104,20 +107,22 @@ WantedBy=timers.target
|
|||
===== Start =====
|
||||
|
||||
<code>
|
||||
sudo systemctl enable --now unbound.service roothints.timer
|
||||
systemctl enable --now unbound.service roothints.timer
|
||||
</code>
|
||||
|
||||
===== Lokales DNS über NetworkManager =====
|
||||
|
||||
<code>
|
||||
sudo nano /etc/NetworkManager/conf.d/dns-servers.conf
|
||||
nano /etc/NetworkManager/conf.d/dns-servers.conf
|
||||
</code>
|
||||
|
||||
<code>
|
||||
[global-dns-domain-*]
|
||||
servers=127.0.0.1
|
||||
</code>
|
||||
|
||||
<code>
|
||||
sudo systemctl restart NetworkManager.service
|
||||
systemctl restart NetworkManager.service
|
||||
</code>
|
||||
|
||||
===== DNSCrypt proxy =====
|
||||
|
|
Loading…
Reference in a new issue