Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
for p in $(bbrf programs); do
bbrf domains --view unresolved -p $p | \
dnsx -silent -a -resp | tr -d '[]' | tee \
>(awk '{print $1":"$2}' | bbrf domain update - -p $p -s dnsx) \
>(awk '{print $1":"$2}' | bbrf domain add - -p $p -s dnsx) \
>(awk '{print $2":"$1}' | bbrf ip add - -p $p -s dnsx) \
>(awk '{print $2":"$1}' | bbrf ip update - -p $p -s dnsx)
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment