summaryrefslogtreecommitdiffstats
path: root/cn
blob: 86fc2177010ac4fa10155ed0c0be0a0d6d48b8a3 (plain)
1
2
3
4
5
6
7
8
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;}'