免费注册 查看新帖 |

Chinaunix

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

[DNS] dns出错~请大家帮忙看看LOG~ [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-01-02 11:46 |只看该作者 |倒序浏览
Jan  2 10:55:50 tyler syslogd 1.4.1: restart.
Jan  2 11:00:05 tyler modprobe: modprobe: Can't locate module sound-slot-1
Jan  2 11:00:05 tyler modprobe: modprobe: Can't locate module sound-service-1-0
Jan  2 11:00:05 tyler modprobe: modprobe: Can't locate module sound-slot-1
Jan  2 11:00:05 tyler modprobe: modprobe: Can't locate module sound-service-1-0
~
~
刚配置的~
不知哪里出了问题?

论坛徽章:
0
2 [报告]
发表于 2006-01-02 11:56 |只看该作者
host 172.18.2.137
137.2.18.172.in-addr.arpa domain name pointer tai.tyler.com
反解正常~.

ping www.tyler.com
ping: unknown host www.tyler.com
正解不正常~

[ 本帖最后由 Tyler2003 于 2006-1-2 14:51 编辑 ]

论坛徽章:
0
3 [报告]
发表于 2006-01-02 12:53 |只看该作者

回复 1楼 Tyler2003 的帖子

the infor you paste has no relation with the DNS.

pls
$grep named /var/log/messages
and
copy the zone file of tyler.com

论坛徽章:
0
4 [报告]
发表于 2006-01-02 13:39 |只看该作者
还不是很清楚~
要怎么做呢~
我的tyler.com.zone文件是:

$TTL    86400
$ORIGIN  tyler.com.
@  IN    SOA  tai.tyler.com. root.tai.tyler.com. (
                                                                                
                                       2006010101
                                        28800
                                        14400
                                        360000
                                        86400  )
                                                                                
            IN NS          tai.tyler.com.
                                                                                
            IN MX    5     tai.tyler.com.
                                                                                
@           IN A         172.18.2.137
tai         IN A         172.18.2.137
                                                                                
www     IN  CNAME  tai
ftp     IN  CNAME  tai

论坛徽章:
0
5 [报告]
发表于 2006-01-02 17:27 |只看该作者
www     IN  CNAME  tai
ftp     IN  CNAME  tai


错误!

CNAME 后面应该是 Canonical name,不应该是 aliases

用 tai 就可以,用 www 或 ftp 都不可以。



  1. www IN  CNAME  tail.xxxxx.  (注意最后的 “.”)

  2. ftp     IN  CNAME  tail.xxxxx.

复制代码

[ 本帖最后由 ailms 于 2006-1-2 17:30 编辑 ]

论坛徽章:
0
6 [报告]
发表于 2006-01-02 22:30 |只看该作者
原帖由 ailms 于 2006-1-2 17:27 发表


错误!

CNAME 后面应该是 Canonical name,不应该是 aliases

用 tai 就可以,用 www 或 ftp 都不可以。

[code]

www IN  CNAME  tail.xxxxx.  (注意最后的 “.”)

ftp     IN  CNAME  tail.x ...

www IN CNAME tail



both tail and tail.tyler.com is not aliases .
www.tyler.com is the alias for tail.tyler.com.

论坛徽章:
0
7 [报告]
发表于 2006-01-02 22:34 |只看该作者
原帖由 Tyler2003 于 2006-1-2 13:39 发表
还不是很清楚~
要怎么做呢~
我的tyler.com.zone文件是:

$TTL    86400
$ORIGIN  tyler.com.
@  IN    SOA  tai.tyler.com. root.tai.tyler.com. (
                                                    ...


no one knows what happened before this note.
do you think that is enough and clearly?

论坛徽章:
0
8 [报告]
发表于 2006-01-03 09:22 |只看该作者
多谢俩位~~
今天早上发现是主机名没设对~我设成了tyler.com改成tai.tyler.com后~

host 172.18.2.137
137.2.18.172.in-addr.arpa domain name pointer tai.tyler.com.

ping tai.tyler.com
PING tai.tyler.com (172.18.2.137) 56(84) bytes of data.
64 bytes from tai.tyler.com (172.18.2.137): icmp_seq=1 ttl=64 time=0.056 ms
64 bytes from tai.tyler.com (172.18.2.137): icmp_seq=2 ttl=64 time=0.028 ms
64 bytes from tai.tyler.com (172.18.2.137): icmp_seq=3 ttl=64 time=0.034 ms

但看日志
[root@tai named]# vi /var/log/messages
没有出现DNS成功的信息~

再次谢谢俩位~
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP