免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2901 | 回复: 3
打印 上一主题 下一主题

[DNS] 再次请教斑竹,nslookup set q=soa返回server failed!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-11-11 21:19 |只看该作者 |倒序浏览
有两个域名服务器
在服务器本机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.
---------------------------------------------------------------------------
谢谢帮忙了!

论坛徽章:
0
2 [报告]
发表于 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
我觉得就是因为这一行有问题所以域名解析很慢
但是这一行是什么意思
是怎么生成的呢?

论坛徽章:
0
3 [报告]
发表于 2003-11-12 15:03 |只看该作者

再次请教斑竹,nslookup set q=soa返回server failed!!

86400 ; Minimun TTL of 1 day 除少了个)
改成
86400);Minimun TTL of 1 day

论坛徽章:
0
4 [报告]
发表于 2003-11-13 08:27 |只看该作者

再次请教斑竹,nslookup set q=soa返回server failed!!

我昨天已经把问题搞定了,今天本来想把原因贴出来的,没想到版主已经帮我发了,的确是因为少了一个)的问题。
版主的确很热心,谢谢了!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP