>> Edit article
이름
제목
패스워드
bind 질문인데요... 저에게는 domain01.pe.kr domain02.co.kr domain03.co.kr 3개의 도메인이 있습니다 네임서버는 모두 ns.domain01.pe.kr 224.267.231.78 을 사용합니다. 제가 가지고 있느 아이피 또한 위의 아이피 하나입니다. 위에 아이피로 위의 3개 도메인을 웹호스팅 하려고 하는데 named.conf 파일과 zone 파일 적성 방법좀 가르켜 주십시요 -----------아래는 제가 작성한 파일일인데 동작을 제대로 하지 않아서---- // 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 "localhost" IN { type master; file "localhost.zone"; allow-update { none; }; }; zone "0.0.127.in-addr.arpa" IN { type master; file "named.local"; allow-update { none; }; }; zone "domain01.pe.kr" IN { type master; file "domain01.pe.kr.zone"; allow-update { none; }; }; zone "domain02.co.kr" IN { type master; file "domain02.co.kr.zone"; allow-update { none; }; } zone "domain03.co.kr" IN { type master; file "domain03.co.kr.zone"; allow-update { none; }; }; zone "224.267.231.in-addr.arpa" IN { type master; file "224.217.21.in-addr.arpa"; allow-update { none; }; }; named.conf 파일을 위와 같이 작성하구... zone.inc 라는 파일을 아래와 같이 만들구 domain01.pe.kr.zone, domain02.co.kr.zone, domain03.co.kr 에 $INCLUDE zone.inc 이라구 zone.inc 파일을 참조하게 만들었습니다. ping 을 해봤는데 www.domain01.pe.kr 은 잘작동을하는데 www.domain02.co.kr, www.domain03.co.kr 을 작동을 하지 않내요... 제가 설정한거에 모가 잘못됬나요... 고수님들 한 수 부탁 드립니 다... $TTL 60 @ IN SOA ns.domain01.pe.kr. admin.domain01.pe.kr. ( 20010227 ;serial 10800 ;refresh 3600 ;retry 432000 ;expiry 86400 ) ;minimum ;Name Server IN NS ns.domain01.pe.kr. IN MX 10 mail IN A 224.267.231.78 www IN A 224.267.231.78 mail IN A 224.267.231.78
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved