네임서버 데몬을 띄우니 실패라고 나오네여.. 도와주세여..
레드햇 7.2에 있는 bind(9버젼)를 가지고 네임서버를 구동하려고 하니
nslookup yahoo.co.kr등은 잘 되는데 웹서버이자 네임서버로 구동
하려는 이 서버 자신의 ip나 도메인은 찾지를 못해서 자꾸 건드리다가
#/etc/init.d/named restart를 하면 실패라고 뜨네여...
내용은 아래와 같습니다. 도와 주시면 감사하겠습니다. 며칠째 삽질만
넘 해서 넘 피곤하네여.. 헉헉 넘 실력이 없어서니 자세한 설명이 겉들여
주시면 정말 도움이 많이 되겠습니다.
공인 ip와 도메인 등록은 했습니다.
#cat /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.
         */
 * 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";
        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 "kkkk.kk.kr" IN {
        type master;
        file "kkkk.zone";
allow-update {none; };
}
zone "***.***.211.in-addr.arpa" IN {
        type master;
        file "kkkk.rev";
        allow-update {none; };
}
include "/etc/rndc.key";
#cat /etc/resolv.conf
search ns1.uhost.co.kr
nameserver 210.104.1.3
nameserver 168.126.63.1
#cd /var/named
#cat kkkk.rev
$TTL    86400
$ORIGIN localhost.
@                        IN SOA vod.kkkk.kk.kr. admin.kkkk.kk.kr. (
                                        2003031102      ; serial (d. adams)
                                        3H              ; refresh
                                        15M             ; retry
                                        1W              ; expiry
                                        1D )            ; minimum
                         IN NS  vod.kkkk.kk.kr.
        33               IN PTR       vod.kkkk.kk.kr.
#cat kkkk.zone
$TTL    86400
$ORIGIN localhost.
@                        IN SOA ns.kkkk.kk.kr. admin.kkkk.kk.kr. (
                                        2003031103      ; serial (d. adams)
                                        3H              ; refresh
                                        15M             ; retry
                                        1W              ; expiry
                                        1D )            ; minimum
                         IN NS  ns.kkkk.kk.kr.
                         IN A         211.***.***.33
       localhost         IN A         127.0.0.1
       www               IN A         211.***.***.33
       ftp               IN A         211.***.***.33
#cat localhost.zone
$TTL    86400
$ORIGIN localhost.
@                       1D IN SOA       @ root (
                                        42              ; serial (d. adams)
                                        3H              ; refresh
                                        15M             ; retry
                                        1W              ; expiry
                                        1D )            ; minimum
                        1D IN NS        @
                        1D IN A         127.0.0.1
#cat named.local
$TTL    86400
@       IN      SOA     localhost. root.localhost.  (
                                      2003031101 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum
        IN      NS      localhost.
1 IN PTR localhost.


댓글 달기