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