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