8 lines
422 B
Bash
8 lines
422 B
Bash
#!/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
|