R&D/클라우드

bind

sunshout 2017. 1. 23. 13:35

/etc/bind/named.conf


zone "autopilothub.com" IN {

        type master;

        file "/etc/bind/db.testbed";

};


include "/etc/bind/named.conf.options";

include "/etc/bind/named.conf.local";

include "/etc/bind/named.conf.default-zones";



/etc/bind/db.testbed

;

; BIND data file for local loopback interface

;

$TTL    3600

@   IN  SOA autopilothub.com. root.autopilothub.com. (

                  2     ; Serial

             604800     ; Refresh

              86400     ; Retry

            2419200     ; Expire

             604800 )   ; Negative Cache TTL

;

@   IN  NS  ns


ns  IN  A   10.251.210.54

config    IN    A   10.251.210.54

cnode01-R01 IN  A   10.1.1.1

cnode02-R01 IN  A   10.1.1.2

cnode03-R01 IN  A   10.1.1.3

cnode04-R01 IN  A   10.1.1.4

cnode05-R01 IN  A   10.1.1.5

cnode06-R01 IN  A   10.1.1.6

cnode07-R01 IN  A   10.1.1.7

cnode08-R01 IN  A   10.1.1.8

cnode09-R01 IN  A   10.1.1.9

cnode10-R01 IN  A   10.1.1.10