Skip to content

Instantly share code, notes, and snippets.

@johntdyer
Created September 16, 2010 20:16
Show Gist options
  • Save johntdyer/583087 to your computer and use it in GitHub Desktop.
Save johntdyer/583087 to your computer and use it in GitHub Desktop.
function digp(){
commid=$(cat /opt/voxeo/prophecy/config/agent.db.properties | grep 'local.community.id' | sed 's/local.community.id=//')
echo "Community ID: => " $commid
dig @127.0.0.1 -p 9962 axfr $commid.prophecy.local
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment