List 6-4 DNSサーバーに新しいリソースレコードを追加する部分(List 6-1における78の詳細)

7 DNS: 0x65:Dyn Upd PRE/UPD records to PC98.active.dsl.local. of type Canonical name
      DNS: Query Identifier = 101 (0x65)
      DNS: DNS Flags = Query, OpCode - Dyn Upd, RCode - No error
          DNS: 0............... = Request
          DNS: .0101........... = Dynamic Update
          DNS: .....0.......... = Server not authority for domain
          DNS: ......0......... = Message complete
          DNS: .......0........ = Iterative query desired
          DNS: ........0....... = No recursive queries
          DNS: .........000.... = Reserved
          DNS: ............0000 = No error
      DNS: Zone Count = 1 (0x1)
      DNS: Prerequisite Section Entry Count = 2 (0x2)
		↑Prerequisiteセクションが2つあることを示している。
		 この2つの条件が満たされない限り,Dynamic DNSでゾーンがUpdateされることはない
      DNS: Update Section Entry Count = 1 (0x1)
		↑Dynamic DNSをUpdateするためのUpdateセクションが1つ含まれていることを表す
      DNS: Additional Records Count = 0 (0x0)
      DNS: Update Zone: active.dsl.local. of type SOA on class INET addr.
          DNS: Update Zone Name: active.dsl.local.
          DNS: Update Zone Type = Start of zone of authority
          DNS: Update Zone Class = Internet address class
      DNS: Prerequisite: PC98.active.dsl.local. of type Canonical name on class Unknown Class(2 records present)
		↑Prerequisiteセクション。2つのレコードが含まれていることを示す
          DNS: Resource Record: PC98.active.dsl.local. of type Canonical name on class Unknown Class
		↑Updateするための最初の条件。
		 CNAMEレコードが登録されていないことが条件となっている
              DNS: Resource Name: PC98.active.dsl.local.
              DNS: Resource Type = Canonical name for alias
              DNS: Resource Class = 0x00FE
              DNS: Time To Live = 0 (0x0)
              DNS: Resource Data Length = 0 (0x0)
          DNS: Resource Record: PC98.active.dsl.local. of type Host Addr on class Unknown Class
		↑Updateするための2つ目の条件。
		 Aレコードが登録されていないことが条件となっている
              DNS: Resource Name: PC98.active.dsl.local.
              DNS: Resource Type = Host Address
              DNS: Resource Class = 0x00FE
              DNS: Time To Live = 0 (0x0)
              DNS: Resource Data Length = 0 (0x0)
      DNS: Update: PC98.active.dsl.local. of type Host Addr on class INET addr.
		↑Updateセクション
          DNS: Resource Name: PC98.active.dsl.local.
		↑登録するリソースレコードの名前。
		 Aレコードの登録なので,ホスト名である“PC98.active.dsl.local.”が名前になる
          DNS: Resource Type = Host Address
		↑登録するリソースレコードの種類。
		 Host Addressは,Aレコードを示す
          DNS: Resource Class = Internet address class
		↑登録するリソースレコードのクラス
          DNS: Time To Live = 1200 (0x4B0)
		↑登録するリソースレコードのTTL。
		 1200秒を指定している
          DNS: Resource Data Length = 4 (0x4)
		↑登録するリソースレコードのデータ長
          DNS: IP address = 192.168.1.101
		↑登録するリソースレコードのデータ。
		 Aレコードのデータなので,IPアドレスが指定されている

8 DNS: 0x65:Dyn Upd Resp. PRE/UPD records to PC98.active.dsl.local. of type Canonical name
      DNS: Query Identifier = 101 (0x65)
      DNS: DNS Flags = Response, OpCode - Dyn Upd, RCode - No error
          DNS: 1............... = Response
          DNS: .0101........... = Dynamic Update
          DNS: .....0.......... = Server not authority for domain
          DNS: ......0......... = Message complete
          DNS: .......0........ = Iterative query desired
          DNS: ........0....... = No recursive queries
          DNS: .........000.... = Reserved
          DNS: ............0000 = No error
		↑“No error”なので,要求されたUpdateが正常に実行されたことがわかる
      DNS: Zone Count = 1 (0x1)
      DNS: Prerequisite Section Entry Count = 2 (0x2)
      DNS: Update Section Entry Count = 1 (0x1)
      DNS: Additional Records Count = 0 (0x0)
      DNS: Update Zone: active.dsl.local. of type SOA on class INET addr.
          DNS: Update Zone Name: active.dsl.local.
          DNS: Update Zone Type = Start of zone of authority
          DNS: Update Zone Class = Internet address class
      DNS: Prerequisite: PC98.active.dsl.local. of type Canonical name on class Unknown Class(2 records present)
          DNS: Resource Record: PC98.active.dsl.local. of type Canonical name on class Unknown Class
              DNS: Resource Name: PC98.active.dsl.local.
              DNS: Resource Type = Canonical name for alias
              DNS: Resource Class = 0x00FE
              DNS: Time To Live = 0 (0x0)
              DNS: Resource Data Length = 0 (0x0)
          DNS: Resource Record: PC98.active.dsl.local. of type Host Addr on class Unknown Class
              DNS: Resource Name: PC98.active.dsl.local.
              DNS: Resource Type = Host Address
              DNS: Resource Class = 0x00FE
              DNS: Time To Live = 0 (0x0)
              DNS: Resource Data Length = 0 (0x0)
      DNS: Update: PC98.active.dsl.local. of type Host Addr on class INET addr.
          DNS: Resource Name: PC98.active.dsl.local.
          DNS: Resource Type = Host Address
          DNS: Resource Class = Internet address class
          DNS: Time To Live = 1200 (0x4B0)
          DNS: Resource Data Length = 4 (0x4)
          DNS: IP address = 192.168.1.101