.
Counter: 11127, today: 1, yesterday: 1

СɥᥤʥСۥȡˤDNS

СɥᥤѤ뤳ȤǡƱ쥵ФʣΥɥᥤѤ뤳Ȥǽˤʤޤ
Сɥᥤapacheפapache꤬λϡDNS꤬ɬפˤʤޤ

A.comB.comΥСɥᥤ

1.named.conf

# vi /etc/named.conf
ʲɲ
zone "A.com" IN {
       type master;
       file "acom.zone";
       allow-update { none; };
};

zone "B.com" IN {
       type master;
       file "bcom.zone";
       allow-update { none; };
};

2.ե
BINDΰŪפ⻲ͤˤƲ

A.comΥκ
 TTL    86400
$ORIGIN localhost.
@       IN      SOA     @       root    (
                                2004031301      ; Serial
                                3H              ; Refresh
                                15M             ; Retry
                                1W              ; Expire
                                1D )            ; Minimum

        IN      NS      @
        IN      A       127.0.0.1

B.comΥκ
 TTL    86400
$ORIGIN localhost.
@       IN      SOA     @       root    (
                                2004031301      ; Serial
                                3H              ; Refresh
                                15M             ; Retry
                                1W              ; Expire
                                1D )            ; Minimum

        IN      NS      @
        IN      A       127.0.0.1

3.bindκƵư

# /etc/rc.d/init.d/named restart

Ƶư塢ꤷФǤ뤫ǧƲ
ǽǡapache꤬ʤХСɥᥤϴλǤ
DNS˴ؤʬϽפʤΤǡե˸꤬ʤ褦դޤ礦


  ʬ եź źեե   Wikiȥå ǽ Хåå   إ   ǽRSS
ȥåХå [ ȥåХå(0) ]
ȥåХå URL: http://linuxexpert.ne.jp/modules/pukiwiki/tb/146

Expert Menu
ǿ
2017-11-28 2016-7-19 2016-5-31 2016-4-12 2016-4-5 2016-3-28 2016-3-10 2015-8-7
ʤ
Yahoo Japan
̤
ͧͤʹ
URLΤäƤ
¾Ȥ
ǿСγǧ

Linuxexpert is one of the service presented by InfomationSquare. / OmakaseBlog Login  |  Register Now!