--- 이하는 해당 파일의 설정견본입니다.
############### /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
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
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 "pervice.net" IN {
type master;
file "named.ns";
allow-update { none; };
};
zone "otechkorea.com" IN {
type master;
file "named.otechkorea";
allow-update { none; };
};
include "/etc/rndc.key";
############### /var/named/named.ns
;
@ IN SOA ns.pervice.net. root.ns.pervice.net. (
20020105 ; Serial
3600 ; Refresh
3600 ; Retry
3600000 ; Expire
86400 ; Minimum )
;
IN A 211.62.xx.104
IN NS ns.pervice.net.
IN MX 10 @
;
ns IN A 211.62.xx.104
* IN A 211.62.xx.104
www IN CNAME ns
mail IN A 211.62.xx.104
;
############### /etc/resolve.conf
nameserver 127.0.0.1
nameserver 211.62.xx.104
위와 같이 설정이 되어있는 상태입니다.
위와같이 간단한 설정만으로 네임서버를 구축하여 80 여 곳의 무료호스팅을 운영하고 있습
니다. 그러나 레드햇7.2 로 재 설치하면서 DNS서버에 문제가 생겼습니다.
업무에 지쳐 피곤하시겠지만 구원의 답변을 부탁드립니다.