Add bind configurations and helper scripts #1

Merged
wanderer merged 2 commits from kreyren/bind-configs:master into master 2020-11-01 09:52:47 +01:00
Showing only changes of commit 6b619df272 - Show all commits

View File

@ -26,8 +26,6 @@ binder_signzone() {
-n "$(nproc 2>/dev/null || printf 1)" \
"/etc/bind/zonefiles/${domain##*.}/${domain%%.*}/$zonefile" || {
case "$LANG" in
# NOTE-TRANSLATE(Krey): Translated via youtube(https://www.youtube.com/watch?v=ZIdrH9p8wek), might need spellcheck
sk-*) die 1 "ČOBOLO! AHO! AHO!" ;;
en-*|*) die 1 "Signing zone dotya.ml failed"
esac
wanderer marked this conversation as resolved
Review

this is most definitely incorrect :D

this is most definitely incorrect :D
Review

Can you fix it then? i ain't too good in slovak~

Can you fix it then? i ain't too good in slovak~
Review

for now I think we should remove translations

for now I think we should remove translations
Review

I would remove just the sk line so that it's contributable for 3rd party more easily

I would remove just the sk line so that it's contributable for 3rd party more easily
Review

please do that, alright.

please do that, alright.
}
@ -93,4 +91,4 @@ binder_generate_keys() {
-L 300 \
-K "/var/cache/named/bind/keys/${domain##*.}/${domain%%.*}" "$domain" || die 1 "Unable to generate Zone-Signing Key (ZSK) for domain '$domain'"
done
}
}