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 1/6] 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 From aed383e4271e7be0332839d21aa64c7bc4f47c2a Mon Sep 17 00:00:00 2001 From: richie510 <25083106+richie510@users.noreply.github.com> Date: Tue, 7 Apr 2020 11:30:44 -0600 Subject: [PATCH 2/6] Update docs/guides/unbound.md Co-Authored-By: Adam Warner --- 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 0e33063..32497a9 100644 --- a/docs/guides/unbound.md +++ b/docs/guides/unbound.md @@ -57,7 +57,7 @@ The first thing you need to do is to install the recursive DNS resolver: sudo apt install unbound ``` -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. +If you are installing unbound from a package manager, it should install the `root.hints` file automatically with the dependency `dns-root-data`. The root hints will then be automatically updated by your package 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. From 86b43ff63bb981da7d18fabd4b970f755c9ea79a Mon Sep 17 00:00:00 2001 From: richie510 <25083106+richie510@users.noreply.github.com> Date: Tue, 7 Apr 2020 11:31:11 -0600 Subject: [PATCH 3/6] Update docs/guides/unbound.md Co-Authored-By: Adam Warner --- 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 32497a9..6f2c943 100644 --- a/docs/guides/unbound.md +++ b/docs/guides/unbound.md @@ -59,7 +59,7 @@ sudo apt install unbound If you are installing unbound from a package manager, it should install the `root.hints` file automatically with the dependency `dns-root-data`. The root hints will then be automatically updated by your package 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. +**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 From 50088f0ae6f1b3e6e1d2a66fd240e09418a9e6d9 Mon Sep 17 00:00:00 2001 From: richie510 <25083106+richie510@users.noreply.github.com> Date: Tue, 7 Apr 2020 11:39:37 -0600 Subject: [PATCH 4/6] Update unbound.md --- 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 6f2c943..3065eee 100644 --- a/docs/guides/unbound.md +++ b/docs/guides/unbound.md @@ -59,7 +59,7 @@ sudo apt install unbound If you are installing unbound from a package manager, it should install the `root.hints` file automatically with the dependency `dns-root-data`. The root hints will then be automatically updated by your package 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. +**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. If you do this optional step, you will need to uncomment the appropriate line in the suggested config file. ```bash wget -O root.hints https://www.internic.net/domain/named.root From 3c85258adbf419ddae726132cb199898eeb0a0e8 Mon Sep 17 00:00:00 2001 From: richie510 <25083106+richie510@users.noreply.github.com> Date: Tue, 7 Apr 2020 11:46:59 -0600 Subject: [PATCH 5/6] removed one trailing space It appears this was causing issues in the system that brings this in. Looking for the other one. --- 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 3065eee..bf76ed9 100644 --- a/docs/guides/unbound.md +++ b/docs/guides/unbound.md @@ -59,7 +59,7 @@ sudo apt install unbound If you are installing unbound from a package manager, it should install the `root.hints` file automatically with the dependency `dns-root-data`. The root hints will then be automatically updated by your package 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. If you do this optional step, you will need to uncomment the appropriate line in the suggested config file. +**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. If you do this optional step, you will need to uncomment the appropriate line in the suggested config file. ```bash wget -O root.hints https://www.internic.net/domain/named.root From d9ac0a30af39bf08bc9815283d7e0e2b75ad5557 Mon Sep 17 00:00:00 2001 From: richie510 <25083106+richie510@users.noreply.github.com> Date: Sat, 18 Apr 2020 09:44:59 -0600 Subject: [PATCH 6/6] Update docs/guides/unbound.md Co-Authored-By: Dan Schaper --- 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 bf76ed9..20550ae 100644 --- a/docs/guides/unbound.md +++ b/docs/guides/unbound.md @@ -59,7 +59,7 @@ sudo apt install unbound If you are installing unbound from a package manager, it should install the `root.hints` file automatically with the dependency `dns-root-data`. The root hints will then be automatically updated by your package 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. If you do this optional step, you will need to uncomment the appropriate line in the suggested config file. +**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. If you do this optional step, you will need to uncomment the `root-hints:` configuration line in the suggested config file. ```bash wget -O root.hints https://www.internic.net/domain/named.root