summaryrefslogtreecommitdiffstats
path: root/cn
diff options
context:
space:
mode:
authortgroman <>2017-06-26 09:39:58 -0700
committertgroman <>2017-06-26 09:39:58 -0700
commit4a80c2e3ce18440470e36f5218130c664fea20e0 (patch)
tree900b6748dd1c34ce80699c3d370cf3be63753615 /cn
parent9781762c5e6b1c52a222f3498d6edad1fb47573d (diff)
downloadcheckname-4a80c2e3ce18440470e36f5218130c664fea20e0.tar
checkname-4a80c2e3ce18440470e36f5218130c664fea20e0.tar.gz
checkname-4a80c2e3ce18440470e36f5218130c664fea20e0.tar.lz
checkname-4a80c2e3ce18440470e36f5218130c664fea20e0.tar.xz
checkname-4a80c2e3ce18440470e36f5218130c664fea20e0.zip
Added cn
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;}'