1893 번 글: dns설정 도와주세요 |
글쓴이: czhan
|
글쓴날: 2004년 01월 29일 12:47:46 목(오후) |
조회: 992 |
해결이 되지 않앗습니다.
아래에 나열된 설정 파일입니다.
/etc/named.conf
/var/named/uni.zone
/var/named/uni.rev
nslookup로 테스트 할경우, ns.uni-bird.com은 해석이 안되고,ip
61.135.144.7 은 해석이 됩니다.
원인을 좀 분석해 주십시요;;
감사합니다..
shell>more /etc/named.conf
options {
version "unknown";
directory "/var/named";
// allow-transfer { 210.96.230.250; };
// query-source address * port 53;
};
controls {
inet 127.0.0.1 port 953 allow { localhost; } keys { "uni-key"; };
};
key "uni-key" {
algorithm hmac-md5;
secret "RAkrYBa3m9GTzBc24OV8zA==";
};
logging {
category lame-servers { null; };
category unmatched { null; };
category network { null; };
category notify { null; };
};
//
// a caching only nameserver config
//
zone "." IN {
type hint;
file "named.ca";
};
zone "uni-bird.com" IN {
type master;
file "uni.zone";
allow-update { none; };
};
zone "144.135.61.in-addr.arpa" IN {
type master;
file "uni.rev";
allow-update { none; };
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "localhost.rev";
allow-update { none; };
};
shell> more /var/named/uni.zone
;made by czhan at uni-bird.com
$TTL 86400
$ORIGIN uni-bird.com.
;
@ IN SOA ns.uni-bird.com. root.uni-bird.com. (
20040126 ; serial
21600 ; refresh
900 ; retry
604800 ; expire
86400 ; default_ttl
)
; name server
IN NS ns.uni-bird.com.
IN MX 10 uni-bird.com.
@ IN A 61.135.144.7
;
; Host name & Informations
ns IN A 61.135.144.7
;
; VirtualHost
webadmin IN A 61.135.144.7
www IN A 61.135.144.7
;
; Alias
mail IN CNAME ns
ftp IN CNAME ns
pop3 IN CNAME ns
shell> more /var/named/uni.rev
$TTL 86400
;
@ IN SOA ns.uni-bird.com. root.uni-bird.com. (
20000407 ; serial
21600 ; refresh
900 ; retry
604800 ; expire
86400 ; default_ttl
)
; Name Server
;
IN NS ns.uni-bird.com.
; in.addr-arpa
7 IN PTR uni-bird.com.
[root@web bin]# 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.
> ns.uni-bird.com
Server: 61.135.144.7
Address: 61.135.144.7#53
** server can't find ns.uni-bird.com: SERVFAIL
> 61.135.144.7
Server: 61.135.144.7
Address: 61.135.144.7#53
7.144.135.61.in-addr.arpa name = uni-bird.com.
>
|
이전글 : Re: Re: Re: 노력해밨는데요...
다음글 : Re: dns설정 도와주세요
|
from 218.246.122.156
JS(Redhands)Board 0.4 +@
|