RedHat Linux >> Server Administration for Redhat Linux
|
[목차] |
제2장 DNS 서버
5. 웹호스팅 서비스를 위한 DNS 설정
/etc/named.conf // generated by named-bootconf.pl options { directory "/var/named"; /* * If there is a firewall between you and nameservers you want * to talk to, you might need to uncomment the query-source * directive below. Previous versions of BIND always asked * questions using port 53, but BIND 8.1 uses an unprivileged * port by default. */ // query-source address * port 53; };
// // a caching only nameserver config // zone "." IN { type hint; file "named.ca"; };
zone "0.0.127.in-addr.arpa" IN { type master; file "named.local"; }; zone "leelab.co.kr"{ type master; file "named.default"; }; zone "tobagi.pe.kr"{ type master; file "named.tobagi"; }; zone "176.230.211.in-addr.arpa"{ type master; file "named.rev"; }; /var/named/named.default @ IN SOA ns.leelab.co.kr. root.ns.leelab.co.kr. ( 1997022700 ; serial 28800 ; refresh 14400 ; retry 3600000 ; expire 86400 ; default_ttl ) @ IN NS ns.leelab.co.kr. ; ns IN A 211.230.176.7 ; leelab.co.kr. IN A 211.230.176.7 www.leelab.co.kr. IN A 211.230.176.7
/var/named/named.rev @ IN SOA ns.leelab.co.kr. root.ns.leelab.co.kr. ( 1997022700 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum IN NS ns.leelab.co.kr.
7 IN PTR leelab.co.kr.
/var/named/named.tobagi $INCLUDE named.default ; www.tobagi.pe.kr. IN A 211.230.176.7 ; tobagi.pe.kr. IN A 211.230.176.7
|
[목차] |