redhat 7.1 을 설치했가지구는... 처음이라서.....어렵네요
bind 9.1 에서 할려니.... 잘 안되는 군요...
xinetd 도 잘 모르겠구... 대충 끼워 맞추기로 해서....
뭐가 틀렸는지 알수가 없네요..
에러가 나는 정상은 이렇습니다.
[root@boo /root]# nslookup
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
> nslookup boo.com
Server: 222.111.134.68
Address: 222.111.134.68#53
** server can't find nslookup.: NXDOMAIN
>
#####################################
설정파일들입니다.
#####################################
###################/etc/named.boot
;
; a caching only nameserver config
;
directory /var/named
cache . named.ca
primary localhost localhost.zone
primary 0.0.127.in-addr.arpa named.local
primary 134.111.222.in-addr.arpa zone-134.111.222
primary boo.com zone-boo.com
######################/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.
*/
// 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 "boo.com"{
type master;
file "zone-boo.com";
allow-update { none; };
};
zone "134.111.222.in-addr.arpa"{
type master;
file "zone-134.111.222";
allow-update { none; };
};
key "key" {
algorithm hmac-md5;
secret ".................암호..........";
};
#########/var/named/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
#########/var/named/named.local
$TTL 86400
@ IN SOA localhost. root.localhost. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS localhost.
1 IN PTR localhost.
#########/var/named/zone-134.111.222
$TTL 86400
@IN IN SOA ns.boo.com. mail.boo.com. (
980910 ; Serial
10800 ; Refresh
3600 ; Retry
432000 ; Expire
86400 ; Minimum
)
@ IN NS ns.boo.com.
68 IN PTR boo.com.
68 IN PTR www.boo.com. #########/var/named/zone-boo.com
$TTL 86400
@ IN SOA ns.boo.com. mail.boo.com. (
980910 ; Serial
10800 ; Refresh
3600 ; Retry
432000 ; Expire
86400 ; Minimum
)
@ IN MX 5 boo.com.
@ IN NS ns.boo.com.
@ IN A 222.111.134.68
localhost IN A 127.0.0.1
www IN A 222.111.134.68
mail IN A 222.111.134.68
ns IN CNAME @
www IN CNAME @
* IN A 222.111.134.68
ps.................
마지막 한가지...
xinetd에서 named 데몬은 어떻게 재시작하나요... xinetd를 죽였다 살려도 시작하지 않더라구요.
.. 좀 갈켜 주십시오.--=_-;;;;;;;;