[페리]님이 남기신 글:
>-----------------------------------------
>답변자가 기본적으로 참고할 내용입니다.
>- 배포판(옵션) : RH ES
>- 커널버전(옵션)
:
>- 데몬버전(예:apache
1.3.27) : bind-9.2.4-2
>- 데몬설치유형(RPM/컴파일/기타)
:설치시 패키지 선택
>-----------------------------------------
>
>DNS 를 처음 건드려보는 초짜입니다.
>
>사용 안하는 도메인을 하나 받아서, 나름대로 공부해보고
있는데
>
>설정이 안맞아서 그렇겠지만, 영 돌아가질 않습니다.
>
>당체 답이 안나와서, 조언 좀 부탁드립니다.
>
>아래는 named.conf 하고 officelady.co.kr.zone 파일의
내용입니다.
>
>
>/etc/named.conf
>
>
>options {
> directory "/var/named";
> dump-file "/var/named/data/cache_dump.db";
> statistics-file "/var/named/data/named_stats.txt";
> /*
> * 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 "localdomain" IN {
> type master;
> file "localdomain.zone";
> allow-update { none; };
>};
>
>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
"0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa"
IN {
> type master;
> file "named.ip6.local";
> allow-update { none; };
>};
>
>zone "255.in-addr.arpa" IN {
> type master;
> file "named.broadcast";
> allow-update { none; };
>};
>
>zone "0.in-addr.arpa" IN {
> type master;
> file "named.zero";
> allow-update { none; };
>};
>
>zone "61.107.70.223" IN {
> type master;
> file "officelady.co.kr.zone";
> allow-update { none; };
>};
위의 부분을
zone "officelady.co.kr" IN {
type master;
file "officelady.co.kr.zone";
allow-update { none; };
};
이렇게 고치고 named 를 restart 해보세요.
>zone "70.107.61.in-addr.arpa" IN {
> type master;
> file "61.107.70.in-addr.arpa.zone";
> allow-update { none; };
>};
>
>
>
>
>
>/evar/named/officlady.co.kr.zone
>
>
>$TTL 3600
>@ IN SOA ns.officelady.co.kr. root.officelady.co.kr.
{
> 20060404 ; Serial
> 84600 ; Refresh
> 1800 ; Retry
> 1209600 ; Expire
> 84600 } ; Minimum
>
> IN NS ns.officelady.co.kr.
> IN NS ns2.officelady.co.kr.
> IN A 61.107.70.223
>
>ns IN A 61.107.70.223
>ns2 IN A 61.107.70.223
>www IN A 61.107.70.223
>
>
>잘못된 부분이 있으면 가차없이 얘기해주세요^^
========================================
|