Skip to content

Instantly share code, notes, and snippets.

@voku voku/digga.sh
Created Dec 9, 2014

Embed
What would you like to do?
digga: show dns-settings from a domain e.g. MX, IP
#!/usr/bin/env bash
# -------------------------------------------------------------------
# digga: show dns-settings from a domain e.g. MX, IP
#
# usage: digga moelleken.org
digga()
{
if [ $# -eq 0 ]; then
echo "Usage: digga moelleken.org"
return 1
else
dig +nocmd "$1" ANY +multiline +noall +answer
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.