Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 505 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 505 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.

knot-tsig-export.bash

Bash functions to get system known keys for nsupdate and knot-one-line

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}'