From 139242d1b7a0c633f74c17640f220bbb99b92518 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Fri, 16 Nov 2018 19:22:49 +0100 Subject: [PATCH 1/2] Improve unbound guide: Remove custom log file location + point out that downloading the root zone is not optional anymore. Signed-off-by: DL6ER --- docs/guides/unbound.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/guides/unbound.md b/docs/guides/unbound.md index 67340cf..0ec5487 100644 --- a/docs/guides/unbound.md +++ b/docs/guides/unbound.md @@ -52,9 +52,9 @@ The first thing you need to do is to install the recursive DNS resolver: sudo apt install unbound ``` -Optional: Download the list of primary root servers (serving the domain `.`). Unbound ships its own list but we can also download the most recent list and update it whenever we think it is a good idea. Note: there is no point in doing it more often then every 6 months. +**Important**: Download the current list of primary root servers (serving the domain `.`). Updated it roughly every six. Note that this file changes infrequently. ``` -wget -O root.hints https://www.internic.net/domain/named.root +wget -O root.hints https://www.internic.net/domain/named.root sudo mv root.hints /var/lib/unbound/ ``` @@ -68,7 +68,8 @@ Highlights: `/etc/unbound/unbound.conf.d/pi-hole.conf`: ```ini server: - logfile: "/var/log/unbound/unbound.log" + # If no logfile is specified, syslog is used + # logfile: "/var/log/unbound/unbound.log" verbosity: 0 port: 5353 From 22bd504e244d6545b456c768d19a9b4c09f00e37 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Fri, 16 Nov 2018 19:35:44 +0100 Subject: [PATCH 2/2] Review comments Signed-off-by: DL6ER --- docs/guides/unbound.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/unbound.md b/docs/guides/unbound.md index 0ec5487..d4f7a0a 100644 --- a/docs/guides/unbound.md +++ b/docs/guides/unbound.md @@ -52,7 +52,7 @@ The first thing you need to do is to install the recursive DNS resolver: sudo apt install unbound ``` -**Important**: Download the current list of primary root servers (serving the domain `.`). Updated it roughly every six. Note that this file changes infrequently. +**Important**: Download the current root hints file (the list of primary root servers which are serving the domain `.`). Update it roughly every six. Note that this file changes infrequently. ``` wget -O root.hints https://www.internic.net/domain/named.root sudo mv root.hints /var/lib/unbound/