blob: 9a3141aef1973efe46bbb98d91b7afbaa042ed84 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p busybox unbound
TMP=`mktemp`
unbound-anchor -a "$TMP"
grep -Ev "^($$|;)" "$TMP" | sed -e 's/ ;;.*//' > root.key
unbound-anchor -F -a "$TMP"
sed '/^;/d' < "$TMP" > root.ds
rm $TMP
|