Initial commit
This commit is contained in:
1
home/pihole/.secrets
Normal file
1
home/pihole/.secrets
Normal file
@@ -0,0 +1 @@
|
||||
webserver-password=.\_,`>ol9=.f+Y{R
|
||||
4
home/pihole/update-hints.sh
Normal file
4
home/pihole/update-hints.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
set -o errexit -o noclobber -o pipefail -o nounset
|
||||
|
||||
podman exec unbound sh -c "/usr/bin/curl -sSL https://www.internic.net/domain/named.cache -o /usr/local/unbound/iana.d/root.hints"
|
||||
7
home/pihole/update-root.sh
Normal file
7
home/pihole/update-root.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -o errexit -o noclobber -o pipefail -o nounset
|
||||
|
||||
podman exec unbound sh -c "curl -sSL https://www.internic.net/domain/named.cache -o /usr/local/unbound/iana.d/root.hints"
|
||||
podman exec unbound sh -c "curl -sSL https://www.internic.net/domain/root.zone -o /usr/local/unbound/iana.d/root.zone"
|
||||
podman exec unbound sh -c "unbound-anchor -v -a /usr/local/unbound/iana.d/root.key"
|
||||
systemctl --user restart unbound
|
||||
Reference in New Issue
Block a user