...
DNSのexample.jpゾーンに各マシンのAレコードとds.example.jpのNSレコードの登録をします。
コード ブロック |
---|
example.jp. IN SOA ns1.example.jp. hostmaster.example.jp. ( .... ) IN NS ns1.example.jp. IN NS ns2.example.jp. ds1.example.jp. IN A 192.0.2.1 ds2.example.jp. IN A 198.51.100.1 ds3.example.jp. IN A 203.0.113.1 ds.example.jp. IN NS ds1.example.jp. ds.example.jp. IN NS ds2.example.jp. ds.example.jp. IN NS ds3.example.jp. |
...
ds1.example.jpにおいて、ds.example.jpゾーンを持つDNSの設定を行います。
ds.example.jpゾーンは下記の通りとし、ds.example.jpのAレコードには ds1.example.jpのIPアドレスのみ 登録します。
コード ブロック |
---|
ds.example.jp. IN SOA ds1.example.jp. hostmaster.ds.example.jp. ( .... ) IN NS ds1.example.jp. IN NS ds2.example.jp. IN NS ds3.example.jp. IN A 192.0.2.1 |
...
ds2.example.jpにおいて、ds.example.jpゾーンを持つDNSの設定を行います。
ds.example.jpゾーンは下記の通りとし、ds.example.jpのAレコードには ds2.example.jpのIPアドレスのみ 登録します。
コード ブロック |
---|
ds.example.jp. IN SOA ds2.example.jp. hostmaster.ds.example.jp. ( .... ) IN NS ds1.example.jp. IN NS ds2.example.jp. IN NS ds3.example.jp. IN A 198.51.100.1 |
...
ds3.example.jpにおいて、ds.example.jpゾーンを持つDNSの設定を行います。
ds.example.jpゾーンは下記の通りとし、ds.example.jpのAレコードには ds3.example.jpのIPアドレスのみ 登録します。
コード ブロック |
---|
ds.example.jp. IN SOA ds3.example.jp. hostmaster.ds.example.jp. ( .... ) IN NS ds1.example.jp. IN NS ds2.example.jp. IN NS ds3.example.jp. IN A 203.0.113.1 |