nslookup交互模式
nslookup
> server 8.8.8.8
Default server: 8.8.8.8
Address: 8.8.8.8#53
> set type=ns
> coder4.com
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
coder4.com nameserver = dns8.hichina.com.
coder4.com nameserver = dns7.hichina.com.
Authoritative answers can be found from:
> set type=a
> coder4.com
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
Name: coder4.com
Address: 103.79.77.127
> set type=cname
> coder4.com
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
*** Can't find coder4.com: No answer
Authoritative answers can be found from:
coder4.com
origin = dns7.hichina.com
mail addr = hostmaster.hichina.com
serial = 2021090218
refresh = 3600
retry = 1200
expire = 86400
minimum = 600
> set type=mx
> coder4.com
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
coder4.com mail exchanger = 10 mxbiz2.qq.com.
coder4.com mail exchanger = 5 mxbiz1.qq.com.
Authoritative answers can be found from:
nslookup
> server 8.8.8.8
Default server: 8.8.8.8
Address: 8.8.8.8#53
> set type=ns
> coder4.com
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
coder4.com nameserver = dns8.hichina.com.
coder4.com nameserver = dns7.hichina.com.
Authoritative answers can be found from:
> set type=a
> coder4.com
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
Name: coder4.com
Address: 103.79.77.127
> set type=cname
> coder4.com
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
*** Can't find coder4.com: No answer
Authoritative answers can be found from:
coder4.com
origin = dns7.hichina.com
mail addr = hostmaster.hichina.com
serial = 2021090218
refresh = 3600
retry = 1200
expire = 86400
minimum = 600
> set type=mx
> coder4.com
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
coder4.com mail exchanger = 10 mxbiz2.qq.com.
coder4.com mail exchanger = 5 mxbiz1.qq.com.
Authoritative answers can be found from:
nslookup > server 8.8.8.8 Default server: 8.8.8.8 Address: 8.8.8.8#53 > set type=ns > coder4.com Server: 8.8.8.8 Address: 8.8.8.8#53 Non-authoritative answer: coder4.com nameserver = dns8.hichina.com. coder4.com nameserver = dns7.hichina.com. Authoritative answers can be found from: > set type=a > coder4.com Server: 8.8.8.8 Address: 8.8.8.8#53 Non-authoritative answer: Name: coder4.com Address: 103.79.77.127 > set type=cname > coder4.com Server: 8.8.8.8 Address: 8.8.8.8#53 Non-authoritative answer: *** Can't find coder4.com: No answer Authoritative answers can be found from: coder4.com origin = dns7.hichina.com mail addr = hostmaster.hichina.com serial = 2021090218 refresh = 3600 retry = 1200 expire = 86400 minimum = 600 > set type=mx > coder4.com Server: 8.8.8.8 Address: 8.8.8.8#53 Non-authoritative answer: coder4.com mail exchanger = 10 mxbiz2.qq.com. coder4.com mail exchanger = 5 mxbiz1.qq.com. Authoritative answers can be found from:
查看其他信息(一般权限给的少,不会给太多信息)
dig coder4.com any
dig coder4.com any
dig coder4.com any