Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 408 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 408 Bytes

knot

Scripts and more for Knot DNS

backup-knot

Backup the contents of /etc/knot and all zones.

zoneedit.bash

Bash function for manually editing zones with your default editor.

knot2nsupdate

Works with the first line (#comment) from keys generated with keymgr -t foo.bar.tld.

awk -F: '/^# / {sub(/^# /,"",$1); printf "key %s {\n\talgorithm %s;\n\tsecret \"s\";\n};\n", $2, $1, $3}'