아래 네임서버를 세팅할려고 수정한 화일 내용입니다.
<<<<<< resolv.conf >>>>>>>>
search ns.incore.co.kr
nameserver 211.233.12.147
<<<<<< 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
//
zone "." {
type hint;
file "named.ca";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
};
zone "12.233.211.in-appr.arpa" {
type master;
file "named.rev";
};
zone "incore.co.kr" {
type master;
file "db.incore.co.kr";
};
<<<<<<<<< named.rev >>>>>>>>>>
@ IN SOA ns.incore.co.kr. root.ns.incore.co.kr. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.incore.co.kr.
147 IN PTR ns.incore.co.kr.
<<<<<<<<< db.incore.co.kr >>>>>>>>
@ IN SOA ns.incore.co.kr. root.ns.incore.co.kr. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.incore.co.kr.
incore.co.kr. IN A 211.233.12.147
ns.incore.co.kr. IN A 211.233.12.147
www.incore.co.kr. IN A 211.233.12.147
pop.incore.co.kr. IN A 211.233.12.147
smtp.incore.co.kr. IN A 211.233.12.147
incore.co.kr. IN MX 10 pop.incore.co.kr
ftp IN CNAME @
telnet IN CNAME @
---------------------------------------------
이렇게 세팅하고
[root@test named]# nslookup
*** Can't find server name for address 211.233.12.147: Server failed
*** Default servers are not available
하면 이렇게 에러가 나오네요.
음... 24시간이 넘아가니까... 그넘이 그넘같아 눈이 빙빙 돕니다.
참고로 resolv.conf에서
다름 네임서버를 설정하면 잘 잘힙니다.
다음과 같이 210.124.122.35를 넣으면 됩니다.
211.233.12.147를 네임서버로 할려고 합니다.
#vi resolv.conf
search ns.incore.co.kr
nameserver 211.233.12.147
nameserver 210.124.122.35
*** Can't find server name for address 211.233.12.147: Server failed
Default Server: ren1.inempire.com
Address: 210.124.122.35
꼭 부탁드립니다.