1. (デフォルトUDP)フォーマット:nslookup [ホスト名] [サーバー]
として:nslookup twitter.com 8.8.8.8
ディスプレイ:
>nslookup twitter.com 8.8.8.8
Server: google-public-dns-a.google.com
Address: 8.8.8.8
非権威的な回答:
Name: twitter.com
Address: 59.24.3.173 [サーバー]が指定されていない場合は、システムが設定したDNSサーバーアドレスが使用されます。
追伸:もちろん、よく知られた理由から、59.24.3.173のIPアドレスは実際にはTwitterドメイン名の実際のIPアドレスではありません。
2. (TCP使用) フォーマット:nslookup -vc [ホスト名] [サーバー] 例えば: nslookup -vc twitter.com 8.8.8.8 ディスプレイ: >nslookup -vc twitter.com 8.8.8.8
Server: google-public-dns-a.google.com
Address: 8.8.8.8
非権威的な回答:
Name: twitter.com
Address: 199.59.148.82 199.59.150.7 199.59.150.39
|