Add bind configurations and helper scripts #1
|
@ -26,8 +26,6 @@ binder_signzone() {
|
||||||
-n "$(nproc 2>/dev/null || printf 1)" \
|
-n "$(nproc 2>/dev/null || printf 1)" \
|
||||||
"/etc/bind/zonefiles/${domain##*.}/${domain%%.*}/$zonefile" || {
|
"/etc/bind/zonefiles/${domain##*.}/${domain%%.*}/$zonefile" || {
|
||||||
case "$LANG" in
|
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"
|
en-*|*) die 1 "Signing zone dotya.ml failed"
|
||||||
esac
|
esac
|
||||||
wanderer marked this conversation as resolved
|
|||||||
}
|
}
|
||||||
|
@ -93,4 +91,4 @@ binder_generate_keys() {
|
||||||
-L 300 \
|
-L 300 \
|
||||||
-K "/var/cache/named/bind/keys/${domain##*.}/${domain%%.*}" "$domain" || die 1 "Unable to generate Zone-Signing Key (ZSK) for domain '$domain'"
|
-K "/var/cache/named/bind/keys/${domain##*.}/${domain%%.*}" "$domain" || die 1 "Unable to generate Zone-Signing Key (ZSK) for domain '$domain'"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
this is most definitely incorrect :D
Can you fix it then? i ain't too good in slovak~
for now I think we should remove translations
I would remove just the sk line so that it's contributable for 3rd party more easily
please do that, alright.