<Linux, Windows, Network> nslookup

nslookupの使い方メモ。

IPアドレス問い合わせ

>nslookup hage
Server:    hage-dns.hage.com    # DNSサーバ名
Address:   xx.xxx.xx.x

Name:     hage.hage.com         # 問い合わせ内容復唱
Address:  xx.xxx.xx.x           # 答え

逆引き(IPアドレスから問い合わせ)

>nslookup  xx.xxx.xx.x

メールサーバ問い合わせ

>nslookup
> set type=MX
> gmail.com
権限のない回答:
サーバー:  hage-dns.hage.com
Address:  xx.xxx.xx.x

gmail.com       MX preference = 30, mail exchanger = alt3.gmail-smtp-in.l.google.com
gmail.com       MX preference = 10, mail exchanger = alt1.gmail-smtp-in.l.google.com
gmail.com       MX preference = 20, mail exchanger = alt2.gmail-smtp-in.l.google.com
gmail.com       MX preference = 40, mail exchanger = alt4.gmail-smtp-in.l.google.com
gmail.com       MX preference = 5, mail exchanger = gmail-smtp-in.l.google.com

参考

www.atmarkit.co.jp

www.k-tanaka.net

beginners-network.com

qiita.com