Important
Do not modify the key contents after it's creation, instead create a new key using tsig-keygen
.
-
Create the base rndc key and encrypt it with sops
tsig-keygen -a hmac-sha256 rndc-key > ./apps/bind/data/config/rndc.sops.key sops --encrypt --in-place ./apps/bind/data/config/rndc.sops.key
-
[Optional] Create additional rndc keys for external-dns and encrypt them with sops
-
Update
./apps/bind/data/config
with your configuration
-
Create additional rndc keys for external-dns and encrypt them with sops
tsig-keygen -a hmac-sha256 kubernetes-main-key > ./apps/bind/data/config/kubernetes-main.sops.key sops --encrypt --in-place ./apps/bind/data/config/kubernetes-main.sops.key
https://github.com/0xERR0R/blocky
Important
Blocky can take awhile to start depending on how many blocklists you have configured
-
Update
./apps/blocky/data/config/config.yaml
with your configuration and then start the stacktask dns-start-primary
https://bitwarden.com/help/secrets-manager-cli/
-
Add your
ORG_ID
to./apps/bws-cache/data/config/config.sops.env
-
Start
bws-cache
task start-bws-cache
https://github.com/containers/prometheus-podman-exporter
-
Enable the
podman.socket
servicesudo systemctl enable --now podman.socket
-
Start
podman-exporter
task start-podman-exporter