Chinaunix

标题: 再次请教斑竹,nslookup set q=soa返回server failed!! [打印本页]

作者: relleber    时间: 2003-11-11 21:19
标题: 再次请教斑竹,nslookup set q=soa返回server failed!!
有两个域名服务器
在服务器本机nslookup set q=soa返回server failed
为什么
两个服务器配置如下
mail.first.net.cn:

-------------------------------------------------------
named.conf:
zone "first.net.cn" in {
        type master;
        file "named.hosts";
};

named.boot:
primary      first.net.cn             named.hosts

named.hosts:

@  IN    SOA    mail.first.net.cn. webmaster.first.net.cn.(
                  89688600        ;  Serial Number
                  10800           ;  Refresh after 3 hours
                  3600            ;  Retry after 1 hour   
                  604800          ;  Expire after 1 week
                  86400          ;  Minimun TTL of 1 day
                  
@    IN    NS         mail.first.net.cn.
     IN    NS         ns.first.net.cn.
     IN    MX    0    mailb.first.net.cn.
www        IN    A    111.111.111.11
mail       IN    A    111.111.111.33
mailb      IN    A    111.111.111.22
ns         IN    A    111.111.111.55
no1.first.net.cn.         IN   NS dns.no1.first.net.cn.
dns.no1.first.net.cn.     IN   A  222.222.222.11
no2.first.net.cn.      IN   NS dns2.no2.first.net.cn.
dns2.no2.first.net.cn. IN   A  222.222.222.22
     IN    MX    10   mailb.first.net.cn.
---------------------------------------------
ns.first.net.cn:

named.conf:
zone "first.net.cn" in {
        type master;
        file "named.hosts";
};
named.boot:
primary      first.net.cn             named.hosts
named.hosts:
named.hosts
@    IN    SOA    ns.first.net.cn.  webmaster.first.net.cn.(
                  89688000        ;  Serial Number
                  10800           ;  Refresh after 3 hours
                  3600            ;  Retry after 1 hour   
                  604800          ;  Expire after 1 week
                  86400          ;  Minimun TTL of 1 day
                  
@    IN    NS         ns.first.net.cn.
     IN    NS         mail.first.net.cn.
     IN    MX    0    mailb.first.net.cn.
ns           IN    A    111.111.111.55
www          IN    A    111.111.111.11
mailb        IN    A    111.111.111.22
mail         IN    A    111.111.111.33
no1.first.net.cn.         IN   NS dns.no1.first.net.cn.
dns.no1.first.net.cn.     IN   A  222.222.222.11
no2.first.net.cn.      IN   NS dns2.no2.first.net.cn.
dns2.no2.first.net.cn. IN   A  222.222.222.22
     IN    MX    10   mailb.first.net.cn.
---------------------------------------------------------------------------
谢谢帮忙了!
作者: relleber    时间: 2003-11-11 21:25
标题: 再次请教斑竹,nslookup set q=soa返回server failed!!
另外在mail.first.net.cn上生成了一个named_dump.db的文件
其中有这样一行:
first.net.cn (type 1, class 1, source named.hosts)
;        time=0, lastupdate=0, serial=0,
;        refresh=0, retry=0, expire=0, minimum=0
;        ftime=0, xaddrcnt=0, state=0140, pid=0
我觉得就是因为这一行有问题所以域名解析很慢
但是这一行是什么意思
是怎么生成的呢?
作者: supereyes    时间: 2003-11-12 15:03
标题: 再次请教斑竹,nslookup set q=soa返回server failed!!
86400 ; Minimun TTL of 1 day 除少了个)
改成
86400);Minimun TTL of 1 day
作者: relleber    时间: 2003-11-13 08:27
标题: 再次请教斑竹,nslookup set q=soa返回server failed!!
我昨天已经把问题搞定了,今天本来想把原因贴出来的,没想到版主已经帮我发了,的确是因为少了一个)的问题。
版主的确很热心,谢谢了!




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2