From 2c29b66adbbf0589a9921589c74cb96bc82fcb5c Mon Sep 17 00:00:00 2001 From: richie510 <25083106+richie510@users.noreply.github.com> Date: Tue, 7 Apr 2020 11:13:57 -0600 Subject: [PATCH] Suggest downloading root.hints as optional The root.hints file is automatically a dependency of unbound in the dns-root-data package, and would be updated automatically by the package manager. --- docs/guides/unbound.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/guides/unbound.md b/docs/guides/unbound.md index ef53189..0e33063 100644 --- a/docs/guides/unbound.md +++ b/docs/guides/unbound.md @@ -57,7 +57,9 @@ The first thing you need to do is to install the recursive DNS resolver: sudo apt install unbound ``` -**Important**: Download the current root hints file (the list of primary root servers which are serving the domain "." - the root domain). Update it roughly every six months. Note that this file changes infrequently. +If you are installing unbound from a package manager, it should install the root.hints automatically with the dependency dns-root-data. The root hints will then be automatically updated by your packaged manager. + +**Optional**: Download the current root hints file (the list of primary root servers which are serving the domain "." - the root domain). Update it roughly every six months. Note that this file changes infrequently. This is only necessary if you are not installing unbound from a package manager. ```bash wget -O root.hints https://www.internic.net/domain/named.root @@ -90,7 +92,8 @@ server: do-ip6: no # Use this only when you downloaded the list of primary root servers! - root-hints: "/var/lib/unbound/root.hints" + # If you use the default dns-root-data package, unbound will find it automatically + #root-hints: "/var/lib/unbound/root.hints" # Trust glue only if it is within the server's authority harden-glue: yes