안녕하세요..
리눅스 7.1에서 dns 설치 하였는데....
이메세지좀 해결해주세요.....
머리 아프네요..도저히....고수의 도움을 필요합니다.
** server can't find 111.222.333.444.in-addr.arpa.: NXDOMAIN
위메세지는 도데체 뭐죠..역도메인이 잘못 된것 같은데...
저는 잘해줬는데도 안돼더라구요.....
제 서버에서 nslookup 444.333.222.111 하면
111.222.333.444.in-addr.arpa name = ns1.test.com.
111.222.333.444.in-addr.arpa name = www.test.com. 이렇게 잘나오는데...
다른 서버에서 nslookup 444.333.222.111 하면
** server can't find 111.222.333.444.in-addr.arpa.: NXDOMAIN
위와 같이 나옵니다....
왜 그런건지요.....
----------------------------
vi named.conf --
cat /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 "222.333.444.in-addr.arpa" IN {
type master;
file "named.rev";
allow-update { none; };
};
zone "test.com" IN {
type master;
file "testcom.local";
allow-update { none; };
};
key "key" {
algorithm hmac-md5;
secret "zZnZYfFebSXNfstLeDcNYuiUErZvzUtbNVnXKekZYNWZAxBEGAOFzcRZAnwM";
};
============================
vi named.rev
$TTL86400
@ IN SOA ns1.test.com. root.test.com (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns1.test.com.
11 IN PTR ns1.test.com.
11 IN PTR www.test.com. ==========================
vi testcom.local
$TTL86400
@ IN SOA ns1.test.com. root.test.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns1.test.comt.
IN A 444.333.222.111
IN MX 10 mail.test.com.
localhost IN A 127.0.0.1
ns IN A 444.333.222.111
mail IN A 444.333.222.111
www IN A 444.333.222.111
----------------------------------
뭐가 잘못 된게 있나요?
고수님 도움이 필요합니다.....
감사합니다.