nslookup하니까 아래와 같이 나오내요..
뭐가 잘못된건지...
[root@localhost named]# nslookup aaa.co.kr localhost
Server: localhost
Address: 127.0.0.1
*** localhost can't find aaa.co.kr: Server failed
제가 설정 한부분들...
[aaa.zone]
#################################################################
;The Forward Zone DataBase File for Linuxpia Domain, Linuxpia.co.kr
;
$TTL 86400
;
@ IN SOA ns.aaa.co.kr. jang.aaa.com.(
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN A 611.73.124.111
aaa.co.kr. IN NS ns.aaa.co.kr.
IN MX 10 aaa.co.kr.
ns IN A 611.73.124.111
localhost IN A 127.0.0.1
mail IN A 611.73.124.111
www IN A 611.73.124.111
#################################################################
[aaa.rev]부분
##################################################################
;
;The Reverse Zone Database File for aaa.co.kr
;
$TTL 86400
@ IN SOA NS.aaa.co.kr. jang.aaa.com.(
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.aaa.co.kr.
IN mx 10 aaa.com.
111 IN PTR aaa.co.kr.
111 IN PTR mail.aaa.co.kr.
111 IN PTR www.aaa.co.kr. #######################################
############################# [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 "." 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 "poscoir.co.kr" IN {
type master;
file "aaa.zone";
allow-update{ none; };
};
zone "124.73.611.in.addr-arpa" IN {
type master;
file "aaa.rev";
allow-update{ none; };
};
key "key" {
algorithm hmac-md5;
secret "kIjidWHmojQzQvfwPmFVDuhkJ0fFiERXJTJCrAIgfSowyoXqAkPGWpiBItBI";
};
######################################################
[resolve.conf]부분
###########################
search aaa.co.kr
nameserver 611.73.124.111
############################
[host.conf] 부분
##########################
order bind hosts
multi on
##########################
이렇게 설정했습니다...
잘못된 부분 좀 가르쳐 주세요...