この特集のトップページへ
Chapter 8:Microsoft DNS 〜Windows 2000のみでの構成〜

見出し 8.2.4 DNSの動作確認
 DNSサーバーの設定が一通り完了したところで,その動作を確認しておく。

 まず,DNSサーバーが動作しているコンピュータを,active.dsl.localゾーンと1.168.192.in-addr.arpaゾーンに登録する。そのためには,IPCONFIGユーティリティに/registerdnsオプションを指定して実行する。

 
C:\> IPCONFIG /registerdns

Windows 2000 IP Configuration

Registration fo the DNS resource records for all adapters 
of this computer has beeen initiated. Amu errors will be 
reported in the Event Viewer in 15 minutes.

 登録が完了したら,NSLOOKUPユーティリティを使用して,実際にゾーンの情報やレコードの情報が正しく登録されているかどうか,DNSサーバーが正しく動作しているかどうかを確認する。

 
C:\> nslookup
Default Server:  az3.active.dsl.local
Address:  192.168.1.100

> set type=any
↑問い合わせのタイプはany(すべて)である
> active.dsl.local
↑active.dsl.local.というドメイン名が存在するかどうかを確認している
Server:  az3.active.dsl.local
↑問い合わせ先はaz3.active.dsl.localであることがわかる
Address:  192.168.1.100

active.dsl.local        internet address = 192.168.1.100
↑Aレコードの内容が表示されている
active.dsl.local        nameserver = az3.active.dsl.local
↑NSレコードの内容が表示されている
active.dsl.local
        primary name server = az3.active.dsl.local
        responsible mail addr = administrator.active.dsl.local
        serial  = 21
        refresh = 900 (15 mins)
        retry   = 600 (10 mins)
        expire  = 86400 (1 day)
        default TTL = 3600 (1 hour)
↑SOAレコードの内容が表示されている
az3.active.dsl.local    internet address = 192.168.1.100


> .
↑.(ルート)の情報を問い合わせている
Server:  az3.active.dsl.local
Address:  192.168.1.100

(root)  nameserver = az3.active.dsl.local
↑.(ルート)のDNSサーバーがaz3.active.dsl.local.であることがわかる
(root)
        primary name server = az3.active.dsl.local
        responsible mail addr = administrator.active.dsl.local
        serial  = 4
        refresh = 900 (15 mins)
        retry   = 600 (10 mins)
        expire  = 86400 (1 day)
        default TTL = 3600 (1 hour)
az3.active.dsl.local    internet address = 192.168.1.100


> az3.active.dsl.local.
↑自分のレコードが登録されているかどうかを確認する
Server:  az3.active.dsl.local
Address:  192.168.1.100

az3.active.dsl.local    internet address = 192.168.1.100


> ls active.dsl.local
↑active.dsl.local.ドメインのゾーン情報を確認する
[az3.active.dsl.local]
 active.dsl.local.              A      192.168.1.100
 active.dsl.local.              NS     server = az3.active.dsl.local
 az3                            A      192.168.1.100

 NSLOOKUPを実行したら,active.dsl.localゾーンの情報が正しく登録されているかどうか,ルートサーバーとして動作しているかどうか(“.”を調査することでわかる),az3というホストが正しく登録されているかどうかを,順番に確認する。最後に,lsコマンドを使用して,active.dsl.localゾーンの内容を表示している。このほかにも,逆引きゾーンが正しく動作しているかどうかを確認しておく必要がある。

 なお,NSLOOKUPユーティリティの使用方法については,「COLUMN NSLOOKUPユーティリティ」を参照していただきたい。

prev Chapter 8 8/13 next