글쓴이: 최정희 등록: 2001-06-15 11:36:57 조회: 1
wowlinux 7.1 paran을 설치하였습니다.
기존 6.2와 7.0 bind 8.x대에서 잘사용하던 dns에 관련된 설정화일을
가져다가.
김정균님의 홈페이지 게시판에 강의자료를
http://www.oops.org/?&t=lecture&sb=bind&n=11 보고 수정을 하였습니다.
그런데? 아래와 같은 메세지가 나오고, 동작이 안됩니다.
bind버전 : bind-9.1.0-10
[master@ns /etc]# 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.
>
/var/log/messages
Jun 15 01:38:50 ns 6월 15 01:38:50 named: named shutdown succeeded
Jun 15 01:38:50 ns named[8879]: starting BIND 9.1.0 -u named
Jun 15 01:38:50 ns named[8879]: using 1 CPU
Jun 15 01:38:50 ns named[8881]: loading configuration
from '/etc/named.conf'
Jun 15 01:38:50 ns 6월 15 01:38:50 named: named startup succeeded
Jun 15 01:38:50 ns named[8881]: the default for the 'auth-nxdomain'
option is now 'no'
Jun 15 01:38:50 ns named[8881]: no IPv6 interfaces found
Jun 15 01:38:50 ns named[8881]: listening on IPv4 interface lo,
127.0.0.1#53
Jun 15 01:38:50 ns named[8881]: listening on IPv4 interface eth0,
211.219.23.61#53
Jun 15 01:38:50 ns named[8881]: running
[master@ns log]#
DNS설정화일
[master@ns /etc]$ cat 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 "23.219.211.in-addr.arpa" IN {
type master;
file "xxxxxxx.rev";
};
zone "xxxxxxx.co.kr" IN {
type master;
file "xxxxxxx.zone";
};
key "key" {
algorithm hmac-md5;
secret "smzzwdOUCxH0HcASwIfCjdQcjyazodHgYQiYxWtUvsWXVFZFCLQDEiGYmYPt";
};
[master@ns /etc]$
[master@ns named]$ cat xxxxxxx.zone
$TTL 86400
@ IN SOA ns.xxxxxxx.co.kr. master.xxxxxxx.co.kr. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ; Minimum
)
IN NS ns.xxxxxxx.co.kr.
IN MX 10 xxxxxxx.co.kr.
localhost IN A 127.0.0.1
@ IN A 211.219.23.61
ns IN A 211.219.23.61
IN HINFO "TEST SERVER" "Linux"
ftp IN A 211.219.23.61
mail IN A 211.219.23.61
www IN CNAME @
[master@ns named]$ cat xxxxxxx.rev
$TTL 86400
@ IN SOA ns.xxxxxxx.co.kr. master.xxxxxxx.co.kr. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ; Minimum
)
IN NS ns.xxxxxxx.co.kr.
IN MX 10 xxxxxxx.co.kr.
61 IN PTR xxxxxxx.co.kr.
61 IN PTR ftp.xxxxxxx.co.kr.
이상입니다.
부탁드립니다.--리눅스 아이러브유! 파란 좋아!