免费注册 查看新帖 |

Chinaunix

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

DNS server 启动报错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-04-06 00:46 |只看该作者 |倒序浏览
是参考brian 老大以前的帖子配置的

原贴点这里

启动in.named报下列错误:

# /usr/sbin/in.named
Apr  6 00:32:16 test named[458]: master zone "abc.cn" (IN) rejected due to errors (serial 0)
Apr  6 00:32:16 test named[458]: master zone "168.168.192.in-addr.arpa" (IN) rejected due to errors (serial 0)
Apr  6 00:32:16 test named[458]: master zone "0.0.127.in-addr.arpa" (IN) rejected due to errors (serial 0)

[ 本帖最后由 bsdwelt 于 2007-4-6 00:47 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2007-04-06 02:37 |只看该作者
That was resolved through 短消息 between 满天飞小猪 and me. It was a type error in the files. Changing test.abc.cn to abc.cn of SOA line in all the files should resolve the issue.

论坛徽章:
0
3 [报告]
发表于 2007-04-06 07:36 |只看该作者
原帖由 briangao 于 2007-4-6 02:37 发表
That was resolved through 短消息 between 满天飞小猪 and me. It was a type error in the files. Changing test.abc.cn to abc.cn of SOA line in all the files should resolve the issue.


我改过之后就是报这样的错误

Apr  6 00:28:08 test named[159]: [ID 295310 daemon.notice] starting (/etc/named.conf).  in.named BIND 8.3.3 Thu Jun 16 08:11:42 PDT 2005
Apr  6 00:28:09 test named[159]: [ID 295310 daemon.warning] Zone "abc.cn" (file named.hosts): No default TTL ($TTL <value>) set, using SOA minimum instead
Apr  6 00:28:09 test named[159]: [ID 295310 daemon.notice] named.hosts:4: Database error near (@)
Apr  6 00:28:09 test named[159]: [ID 295310 daemon.notice] named.hosts:5: Database error near ()
Apr  6 00:28:09 test named[159]: [ID 295310 daemon.notice] named.hosts:6: Database error near ()
Apr  6 00:28:09 test named[159]: [ID 295310 daemon.notice] named.hosts:7: Database error near ()
Apr  6 00:28:09 test named[159]: [ID 295310 daemon.notice] named.hosts:8: Database error near ()
Apr  6 00:28:09 test named[159]: [ID 295310 daemon.notice] named.hosts:9: Database error near ())
Apr  6 00:28:09 test named[159]: [ID 295310 daemon.notice] named.hosts:11: Database error near (test.abc.cn.)
Apr  6 00:28:09 test named[159]: [ID 295310 daemon.notice] named.hosts:12: Database error near (mail.abc.cn.)
Apr  6 00:28:09 test named[159]: [ID 295310 daemon.warning] Zone "abc.cn" (file named.hosts): no SOA RR found
Apr  6 00:28:09 test named[159]: [ID 295310 daemon.error] master zone "abc.cn" (IN) rejected due to errors (serial 0)
Apr  6 00:28:09 test named[159]: [ID 295310 daemon.warning] Zone "168.168.192.in-addr.arpa" (file named.rev): No default TTL ($TTL <value>) set, using SOA minimum instead

论坛徽章:
0
4 [报告]
发表于 2007-04-06 08:15 |只看该作者
I am sorry. the post already had my correction in it, meaning the test should be in it. You must have some type errors in your config file. Can you post them? Also which version of bind are you using?

论坛徽章:
0
5 [报告]
发表于 2007-04-06 08:42 |只看该作者
仔细看看你的named.conf的脚本.No default TTL这个没有设置.还有你的master zone设置有问题.可以找一个现成的脚本看一下.
http://bbs.chinaunix.net/viewthread.php?tid=671868&highlight=风之幻想

论坛徽章:
0
6 [报告]
发表于 2007-04-06 09:09 |只看该作者
原帖由 风之幻想 于 2007-4-6 08:42 发表
仔细看看你的named.conf的脚本.No default TTL这个没有设置.还有你的master zone设置有问题.可以找一个现成的脚本看一下.
http://bbs.chinaunix.net/viewthread.php?tid=671868&highlight=风之幻想


风版, 我的域名是没注册的. 在内网设置DNS服务器需要哪些文件?

论坛徽章:
0
7 [报告]
发表于 2007-04-06 09:39 |只看该作者
把 forwarders 选项去掉.

论坛徽章:
0
8 [报告]
发表于 2007-04-06 09:43 |只看该作者
after modifying the configuration file or zone files, run "named-checkconf" or  "named-checkzone" to verify their syntax. That might save a lot of troubleshooting efforts.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP