From eb04425a0577a735ea70c34da63e1cbd17691b49 Mon Sep 17 00:00:00 2001 From: Sean Booth Date: Mon, 28 May 2018 10:56:36 -0600 Subject: [PATCH 1/2] Added sudo to root server DL Signed-off-by: Sean Booth SM.Booth@shaw.ca Signed-off-by: Sean Booth --- 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 dde1c9a..95306c4 100644 --- a/docs/guides/unbound.md +++ b/docs/guides/unbound.md @@ -54,7 +54,7 @@ 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. ``` -wget https://www.internic.net/domain/named.root -O /var/lib/unbound/root.hints +sudo wget https://www.internic.net/domain/named.root -O /var/lib/unbound/root.hints ``` ### Configure `unbound` From 8f8f0201520a40865f254939d2111f200ced3cc5 Mon Sep 17 00:00:00 2001 From: Sean Booth Date: Mon, 28 May 2018 11:04:11 -0600 Subject: [PATCH 2/2] wget as normal then sudo for the mv Signed-off-by: Sean Booth --- docs/guides/unbound.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/guides/unbound.md b/docs/guides/unbound.md index 95306c4..2d2faf8 100644 --- a/docs/guides/unbound.md +++ b/docs/guides/unbound.md @@ -54,7 +54,8 @@ 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. ``` -sudo wget https://www.internic.net/domain/named.root -O /var/lib/unbound/root.hints +wget -O root.hints https://www.internic.net/domain/named.root +sudo mv root.hints /var/lib/unbound/ ``` ### Configure `unbound`