🗃️ Committing everything that changed 🗃️

rootfs/tmp/etc/bind/named.conf
rootfs/usr/local/etc/docker/init.d/00-named.sh
This commit is contained in:
casjay 2024-08-27 14:58:50 -04:00
parent aa9c6f92e9
commit 7549038781
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# default options - https://bind9.readthedocs.io/en/latest/chapter3.html
#####################################################################
# rndc keys
key "dhcp-key" { algorithm hmac-md5; secret "REPLACE_KEY_DHCP"; };
key "dhcp-key" { algorithm hmac-sha256; secret "REPLACE_KEY_DHCP"; };
key "rndc-key" { algorithm hmac-sha256; secret "REPLACE_KEY_RNDC"; };
key "backup-key" { algorithm hmac-sha256; secret "MKEQ/REPLACE_KEY_BACKUP"; };
key "certbot." { algorithm hmac-sha512; secret "REPLACE_KEY_CERTBOT"; };

View File

@ -158,7 +158,7 @@ user_pass="${NAMED_USER_PASS_WORD:-}" # normal user password
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Additional predefined variables
DNS_SERIAL="$(date +'%Y%m%d%S')"
KEY_DHCP="${KEY_DHCP:-$(__dhcp_key || __tsig_key md5)}"
KEY_DHCP="${KEY_DHCP:-$(__dhcp_key || __tsig_key sha256)}"
KEY_RNDC="${KEY_RNDC:-$(__rndc_key || __tsig_key sha256)}"
KEY_BACKUP="${KEY_BACKUP:-$(__backup_key || __tsig_key sha256)}"
KEY_CERTBOT="${KEY_CERTBOT:-$(__certbot_key || __tsig_key sha512)}"