네임서버 구축이 안되네요. 설정좀 봐주세요.
*** file: resolv.conf ***
search hictech.com
search kmu.ac.kr
nameserver 210.125.30.161
*** file: named.conf ***
// generated by named-bootconf.pl
options {
//version "unknown";
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; };
};
key "rndckey" {
algorithm hmac-md5;
secret "ex/KZ9evGfF79S+uYtleJw==";
};
logging {
category lame-servers { null; };
category unmatched { null; };
category network { null; };
category notify { null; };
};
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 "hictech.com" IN {
type master;
file "hictech.com.zone";
allow-update { none; };
};
zone "30.125.210.in-addr.arpa" IN {
type master;
file "hictech.com.rev";
allow-update { none; };
};
include "/etc/rndc.key";
*** file: hictech.com.zone ***
$TTL 86400
@ IN SOA ns.hictech.com. root.hictech.com. (
2004082002 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
;
; Name Server
;
IN NS ns.hictech.com.
IN MX 0 hictech.com.
IN A 210.125.30.161
;
; Host Name & Information
;
ns IN A 210.125.30.161
IN HINFO "i686 Pentium IV" "Linux"
;
; Virtual Host
;
mail IN A 210.125.30.161
ctech IN A 210.125.30.161
www IN A 210.125.30.161
ftp IN A 210.125.30.161
*** file: hictech.com.rev ***
$TTL 86400
@ IN SOA ns.hictech.com. root.hictech.com. (
2004082002 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
;
; Name Server
;
IN NS ns.hictech.com.
IN MX 0 hictech.com.
IN A 210.125.30.161
;
; Host Name & Information
;
ns IN A 210.125.30.161
IN HINFO "i686 Pentium IV" "Linux"
;
; Virtual Host
;
mail IN A 210.125.30.161
ctech IN A 210.125.30.161
www IN A 210.125.30.161
ftp IN A 210.125.30.161
[root@ctech public_html]# cat /var/named/hictech.com.rev
$TTL 86400
@ IN SOA ns.hictech.com. root.ns.hictech.com. (
2004082000 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
;
; Name Server
;
IN NS ns.hictech.com.
IN MX 0 hictech.com.
;
; in-addr.arpa
;
161 IN PTR hictech.com.
-------------------------------------------------------------------
도메인명은 hictech.com 이며,
이 서버 하나로 네임서버, 웹서버, 메일서버, FTP서버를
구축하려고 합니다.
nslookup 으로는 ns.hictech.com 만 검색이 되며
hictech.com 을 포함한 다른 서브 도메인은 전혀 검색되지
않고 있습니다.
부디 도와주시길 바랍니다.
댓글 달기