summaryrefslogtreecommitdiffstats
path: root/cn
diff options
context:
space:
mode:
Diffstat (limited to 'cn')
-rwxr-xr-xcn9
1 files changed, 9 insertions, 0 deletions
diff --git a/cn b/cn
new file mode 100755
index 0000000..86fc217
--- /dev/null
+++ b/cn
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+nslookup $1 | grep -A 2 'answer'
+echo ''
+nslookup -query=mx $1 | grep 'mail\ exchanger'
+echo ''
+whois $1 | grep 'Name\ Server' | sed 's/^ *//' | sort -u
+echo ''
+dnsdict6 -s4 $1 | grep $1 | grep -v 'stimate' | grep -v 'Starting' | sed '/Found/{x;p;x;}'