Skip to content

Instantly share code, notes, and snippets.

@nullenc0de
Last active January 2, 2022 21:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nullenc0de/ad25b1f5aca7e657f5a66f35aec70d32 to your computer and use it in GitHub Desktop.
Save nullenc0de/ad25b1f5aca7e657f5a66f35aec70d32 to your computer and use it in GitHub Desktop.
bbrf domains --view unresolved | \
dnsx -silent -a -resp | tr -d '[]' | tee \
>(awk '{print $1":"$2}' | bbrf domain update - -s dnsx) \
>(awk '{print $1":"$2}' | bbrf domain add - -s dnsx) \
>(awk '{print $2":"$1}' | bbrf ip add - -s dnsx) \
>(awk '{print $2":"$1}' | bbrf ip update - -s dnsx)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment