Windows11 nslookupコマンドでネームサーバー(DNSサーバー)を指定する

環境
エディション Windows 11 Pro
バージョン 22H2
システムの種類 64bit

書式
nslookup 調べるドメイン 指定するネームサーバー(DNSサーバー)

操作方法
1.「スタート」を右クリックし「ファイル名を指定して実行」を起動します。

2.「名前(O)」欄にcmdと入力し「OK」をクリックします。

3.コマンドプロンプトを起動します。
操作例
以下のコマンドを実行します。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
C:\Users\user>nslookup yahoo.co.jp 8.8.8.8
サーバー: dns.google
Address: 8.8.8.8
権限のない回答:
名前: yahoo.co.jp
Addresses: 183.79.250.251
182.22.25.252
182.22.28.252
183.79.250.123
182.22.16.251
182.22.25.124
183.79.217.124
183.79.219.252
C:\Users\user>nslookup yahoo.co.jp 8.8.8.8 サーバー: dns.google Address: 8.8.8.8 権限のない回答: 名前: yahoo.co.jp Addresses: 183.79.250.251 182.22.25.252 182.22.28.252 183.79.250.123 182.22.16.251 182.22.25.124 183.79.217.124 183.79.219.252
C:\Users\user>nslookup yahoo.co.jp 8.8.8.8
サーバー:  dns.google
Address:  8.8.8.8

権限のない回答:
名前:    yahoo.co.jp
Addresses:  183.79.250.251
          182.22.25.252
          182.22.28.252
          183.79.250.123
          182.22.16.251
          182.22.25.124
          183.79.217.124
          183.79.219.252

上記では、DNSサーバーは「8.8.8.8」とGoogle Public DNSに指定して、
検索するドメインは「yahoo.co.jp」で、nslookupで検索しています

Windows11

Posted by arkgame