Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 559 Bytes

Unbound.md

File metadata and controls

36 lines (28 loc) · 559 Bytes

Anleitung

https://docs.pi-hole.net/guides/unbound/

Update-Datei

Die Datei updateroot öffnen:

nano /root/updateroot

Folgenden Inhalt einfügen:

#!/bin/bash

if wget -O root.hints https://www.internic.net/domain/named.root ; then
    rm /var/lib/unbound/root.hints
    mv root.hints /var/lib/unbound/
    service unbound restart
fi

Die Datei ausführbar machen:

chmod +x /root/updateroot

Cronjobs-Datei öffnen:

crontab -e

Am Ende der Datei folgende Zeile einfügen:

0 0 1 */6 * /root/updateroot &