bind-configs/zonefiles/ml/dotya/master.zonefile
kreyren 35ab911ad2
Add bind configurations and helper scripts (#1)
Remove angry slovak translate

Signed-off-by: Jacob Hrbek <kreyren@rixotstudio.cz>

Kreyrenized: Hopefully configured as requested

Configures the name daemon bind to run authoritative server with option for recursive server configuratble in named.conf as `recursive`.

Helper functions submitted in bin/binder files

Signed-off-by: Jacob Hrbek <kreyren@rixotstudio.cz>

Co-authored-by: Jacob Hrbek <kreyren@rixotstudio.cz>
Reviewed-on: #1
Co-Authored-By: kreyren <kreyren@noreply.git.dotya.ml>
Co-Committed-By: kreyren <kreyren@noreply.git.dotya.ml>
2020-11-01 09:52:45 +01:00

28 lines
966 B
Plaintext

;; Tested using: named-checkzone dotya.ml /etc/bind/zonefiles/ml/dotya/*.zonefile
;; Signed using: dnssec-signzone -g -K "/var/cache/named/bind/keys/ml/dotya" -T 300 -n "$(nproc || printf 1)" /etc/zonefiles/ml/dotya/main.zonefile
$TTL 300
$ORIGIN dotya.ml.
;; NameServer (NS)
@ IN NS ns.nebula.dotya.ml.
;; Start Of Authority (SOA)
@ IN SOA (
ns.nebula.dotya.ml. ; MNAME
hostmaster.nebula.dotya.ml. ; RNAME
2020103022 ; SERIAL (YYYYMMDDHH)
8H ; REFRESH
2H ; RETRY
1W ; EXPIRY
2H ; MINIMUM Negative Cache TTL
)
;; DEFAULT
nebula.dotya.ml. IN A 144.91.70.62
ns.nebula.dotya.ml. IN A 144.91.70.62
;; Include other files here
;; $INCLUDE "PATH" DOMAIN
;; Zone-Signing key (ZSK)
$INCLUDE "/var/cache/named/bind/keys/<YOUR_KEY_HERE>" dotya.ml
;; Key-Signing key (KSK)
$INCLUDE "/var/cache/named/bind/keys/<YOUR_KEY_HERE>" dotya.ml