*BindでクラスC以下の逆引きについて [#kf4f4b42]

RIGHT:更新日&lastmod(); 

***構成図 [#ma56b3fd]

           -----------------
           |               |
           |  EQUIUM58     |
           |  10.3.4.0/24  |
           -----------------
                  | 10.3.4.58
                  |
                  | 10.3.4.59
           -----------------
           |               |
           |   EQUIUM59    |
           |   10.3.4.0/29 |
           -----------------

EQUIUM58がクラスCのネームサーバで、その内の10.3.4.0-8をCIDERのネームサーバEQUIUM59に譲渡している場合の逆引きについて

***EQUIUM58の設定 [#pa53b037]

''named.conf''

 zone "4.3.10.in-addr.arpa" IN {
         type master;
         file "named.rev";
         allow-update { none; };
 };

''named.rev''

 /var/named/named.rev
 ;
 ; equium58.mie-abc-u.ac.jp  /var/named/named.rev
 ;
 $TTL 1D
 @ IN    SOA     equium58.mie-abc-u.ac.jp. root.equium58.mie-abc-u.ac.jp. (
                 4               ; Serial
                 10800           ; Refresh
                 1800            ; Retry
                 3600000         ; Expire
                 86400 )         ; Minimum
          NS      equium58.mie-abc-u.ac.jp.
 ;        NS      ns01.mabc.ne.jp.
 32       PTR     equium32.mie-abc-u.ac.jp.
 33       PTR     equium33.mie-abc-u.ac.jp.
 34       PTR     equium34.mie-abc-u.ac.jp.
 35       PTR     equium35.mie-abc-u.ac.jp.
 58       PTR     equium58.mie-abc-u.ac.jp.
 59       PTR     equium59.mie-abc-u.ac.jp.
 
 ; 以下0/29のネームサーバの指定とそのサーバでの逆引きをCNAMEでゾーンとともに指定している
 0/29  IN  NS     equium59.mie-abc-u.ac.jp.
 ;0/29  IN  NS     ns01.mabc.ne.jp.
 1     IN  CNAME  1.0/29.4.3.10.in-addr.arpa.
                    ^^^^^^^^^^^^^^^^^^^^^^^^^<=ここがゾーン名
 2     IN  CNAME  2.0/29.4.3.10.in-addr.arpa.
 3     IN  CNAME  3.0/29.4.3.10.in-addr.arpa.
 4     IN  CNAME  4.0/29.4.3.10.in-addr.arpa.
 5     IN  CNAME  5.0/29.4.3.10.in-addr.arpa.

***EQUIUM59の設定(CIDER側) [#a650ae9a]

''named.conf''

 zone "0/29.4.3.10.in-addr.arpa" IN {
         type master;
         file "named.rev";
         allow-update { none; };
 };

''named.rev''
 
 ;
 ; equium59.abc.ne.jp  /var/named/named.rev
 ;
 $TTL 1D
 @ IN    SOA     equium59.abc.ne.jp. root.equium59.abc.ne.jp. (
                 9               ; Serial
                 10800           ; Refresh
                 1800            ; Retry
                 3600000         ; Expire
                 86400 )         ; Minimum
 ; Authoritative Name Server
          NS      equium59.abc.ne.jp.
 ;        NS      ns01.mabc.ne.jp.
 1        PTR     equium01.abc.ne.jp.
 2        PTR     equium02.abc.ne.jp.
 3        PTR     equium03.abc.ne.jp.
 4        PTR     equium04.abc.ne.jp.
 5        PTR     equium05.abc.ne.jp.
 59       PTR     equium59.abc.ne.jp.

このままではEQUIUM59からでは10.3.4.1を逆引きするとき0/29.4.3.10.in-addr.arpaと~
いうゾーンを設定しているので1.4.3.10.in-addr.arpaを探してそのようなゾーンが~
無いので逆引きできない。~
EQUIUM58からは逆引きができる。~
そこで実験ではEQUIUM59のroot.caファイルをEQUIUM58に向けることで行った

''root.ca''~
/var/named/named.ca~

 ;       This file holds the information on root name servers needed to
 ;       initialize cache of Internet domain name servers
 ;       (e.g. reference this file in the "cache  .  <file>"
 ;       configuration file of BIND domain name servers).
 ;
 ;       This file is made available by InterNIC
 ;       under anonymous FTP as
 ;           file                /domain/named.root
 ;           on server           FTP.INTERNIC.NET
 ;       -OR-                    RS.INTERNIC.NET
 ;
 ;       last update:    Jan 29, 2004
 ;       related version of root zone:   2004012900
 ;
 ;
 ; formerly EQUIUM58.MIE-CHUKYO-U.AC.JP
 ;
 .                        3600000  IN  NS    EQUIUM58.MIE-ABC-U.AC.JP.
 EQUIUM58.MIE-ABC-U.AC.JP.      3600000      A     10.3.4.58
 ;
 ; End of File


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS