ÇÑ ½Ã½ºÅÛ¿¡ Multi DNS Server ±¸¼º ÀÐÀ½:549 ÇѽýºÅÛ¿¡¼­ ¿©·¯°³(2°³ ÀÌ»ó)ÀÇ µµ¸ÞÀÎÀ» °ü¸®ÇÒ ¼ö ÀÖ´Â »çÇ×ÀÌ À־ Å×½ºÆ®ÇÑ °á°ú¿Í ±×¿¡´ëÇÑ ¼Â¾÷ ÆÄÀϵéÀ» ¼Ò°³ÇÕ´Ï´Ù. ################################################# # # # DNS Primary Server Configurations Files # # # ################################################# # # Primary server's default Domain # # /etc/defaultdomain file # aaa.com # # Primary Server's hosts file # # /etc/hosts file # 127.0.0.1 localhost 192.9.100.1 dns loghost nameserver # DNS Primary System 192.9.100.3 second # DNS Secondary System 192.9.200.2 client # DNS local client # 192.9.150.2 DS1 # DNS Primary First Router 192.9.200.2 DS2 # DNS Primary Second Router # # 192.9.150.1 Sale1 # DNS remote Client 192.9.200.1 Sale2 # DNS remote Client ; ; Primary Server's named.boot file ; ; /etc/named.boot file ; ; bbb.com, ccc.com is a additional domain ; which will be managed by this Primary Server ; directory /var/domain ; cache . root.cache primary aaa.com aaa.hosts primary bbb.com bbb.hosts primary ccc.com ccc.hosts ; primary 0.0.127.IN-ADDR.ARPA local.rev primary localhost local.hosts ; primary 100.9.192.IN-ADDR.ARPA aaa.rev primary 150.9.192.IN-ADDR.ARPA bbb.rev primary 200.9.192.IN-ADDR.ARPA ccc.rev # # Primary Server's resolv.conf file # # /etc/resolv.conf ile # # search directive is used to search multi-domain # search aaa.com. bbb.com. ccc.com. nameserver 192.9.100.1 ; ; Forward mapping of Primary Server ; ; /var/domain/aaa.hosts file ; @ IN SOA dns.aaa.com. root.dns.aaa.com. ( 970117 3600 1800 3600000 7200 ) ; IN NS dns.aaa.com. IN A 192.9.100.1 ; $ORIGIN aaa.com. dns IN A 192.9.100.1 client IN A 192.9.100.2 second IN A 192.9.100.3 localhost IN A 127.0.0.1 ; ; Reverse mapping of Primary Server ; ; /var/domain/aaa.rev file ; @ IN SOA dns.aaa.com. root.dns.aaa.com. ( 970117 3600 1800 3600000 7200) ; IN NS dns.aaa.com. ; $ORIGIN 100.9.192.IN-ADDR.ARPA. 1 IN PTR dns.aaa.com. 2 IN PTR client.aaa.com. 3 IN PTR second.aaa.com. ; ; Forward mapping of multidomain which managed by Primary Server ; ; /var/domain/bbb.hosts file ; @ IN SOA dns.aaa.com. root.dns.aaa.com. ( 970117 3600 1800 3600000 7200 ) ; IN NS dns.aaa.com. IN A 192.9.100.1 ; $ORIGIN bbb.com. sale1 IN A 192.9.150.1 ; ; Reverse mapping of multidomain which managed by Primary Server ; ; /var/doamin/bbb.rev file ; @ IN SOA dns.aaa.com. root.dns.aaa.com. ( 970117 3600 1800 3600000 7200) ; IN NS dns.aaa.com. ; $ORIGIN 150.9.192.IN-ADDR.ARPA. 1 IN PTR sale1.bbb.com. ; ; Forward mapping of multidomain which managed by Primary Server ; ; /var/domain/ccc.hosts file ; @ IN SOA dns.aaa.com. root.dns.aaa.com. ( 970117 3600 1800 3600000 7200 ) ; IN NS dns.aaa.com. IN A 192.9.100.1 ; $ORIGIN ccc.com. sale2 IN A 192.9.200.1 ; ; Reverse mapping of multidomain which managed by Primary Server ; ; /var/doamin/ccc.rev file ; @ IN SOA dns.aaa.com. root.dns.aaa.com. ( 970117 3600 1800 3600000 7200) ; IN NS dns.aaa.com. ; $ORIGIN 200.9.192.IN-ADDR.ARPA. 1 IN PTR sale2.ccc.com. ; ; localhost zone database for Primary Server : ; /var/domain/local.hosts file ; @ IN SOA dns.aaa.com. root.dns.aaa.com. ( 970117 3600 1800 3600000 7200 ) ; IN NS dns.aaa.com. localhost IN A 127.0.0.1 ; ; reverse localhost for Primary Server ; ; /var/domain/local.rev file ; @ IN SOA dns.aaa.com. root.dns.aaa.com. ( 970117 3600 1800 3600000 7200 ) ; IN NS dns.aaa.com. 1 IN PTR localhost. ################################################# # # # DNS Secondary Server Configurations Files # # # ################################################# # # Secondary server's default Domain # # /etc/defaultdomain file # aaa.com # # # Secondary Server's hosts file # # /etc/hosts file # 127.0.0.1 localhost 192.9.100.3 Second loghost ; ; Secondary Server's named.boot file ; ; /etc/named.boot file ; ; All file which mapped secondary does't exist !!! ; They are transfered from Primary server. ; Only local information is exist. ; directory /var/domain ; cache . root.cache secondary aaa.com 192.9.100.1 aaa.hosts secondary bbb.com 192.9.100.1 bbb.hosts secondary ccc.com 192.9.100.1 ccc.hosts primary 0.0.127.IN-ADDR.ARPA local.rev primary localhost local.hosts secondary 100.9.192.IN-ADDR.ARPA 192.9.100.1 aaa.rev secondary 150.9.192.IN-ADDR.ARPA 192.9.100.1 bbb.rev secondary 200.9.192.IN-ADDR.ARPA 192.9.100.1 ccc.rev # # Secondary Server's resolv.conf file # # /etc/named.boot file # # search directive is used to search multi-domain # search aaa.com bbb.com ccc.com nameserver 192.9.100.3 nameserver 192.9.100.1 ; ; localhost zone database for Secondary Server : ; /var/domain/local.hosts file ; @ IN SOA second.aaa.com. root.second.aaa.com. ( 970117 3600 1800 3600000 7200 ) ; IN NS second.aaa.com. localhost IN A 127.0.0.1 ; ; reverse localhost for Secondary Server ; ; /var/domain/local.rev file ; @ IN SOA second.aaa.com. root.second.aaa.com. ( 970117 3600 1800 3600000 7200 ) ; IN NS second.aaa.com. 1 IN PTR localhost. ################################################# # # # DNS First Client Configurations Files # # # ################################################# # # Dns client's default Domain # # /etc/defaultdomain file # bbb.com # # This adress used to indicate defaultrouter # which will route our ip address to other network . # 192.9.150.2 # # Dns Client's hosts file # # /etc/hosts file # 127.0.0.1 localhost 192.9.100.1 DNS 192.9.150.2 DS1 192.9.200.2 DS2 192.9.150.1 Sale1 loghost 192.9.200.1 Sale2 # # Dns Client's resolv.conf file # # /etc/resolv.conf file # # search directive is used to search multi-domain # search aaa.com. ccc.com. bbb.com. nameserver 192.9.100.1 ################################################# # # # DNS Second Client Configurations Files # # # ################################################# # # Dns client's default Domain # # /etc/defaultdomain file # ccc.com # # This adress used to indicate defaultrouter # which will route our ip address to other network . # 192.9.200.2 # # Dns Client's hosts file # # /etc/hosts file # 127.0.0.1 localhost 192.9.200.1 Sale2 loghost 192.9.200.2 DS2 # # Dns Client's resolv.conf file # # /etc/resolv.conf file # # search directive is used to search multi-domain # search aaa.com. bbb.com. ccc.com. nameserver 192.9.100.1