免费注册 查看新帖 |

Chinaunix

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

[DNS] bind问题,server成功,客户端无法连dns server [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-02-28 00:13 |只看该作者 |倒序浏览
环境:Linux PC IP:192.168.0.6           Windows PC IP:192.168.0.7
Linux PC:配置bind9, www.penny.com 192.168.0.6
配置完成后,service named start  [OK]
#host named www.penny.com
www.penny.com has address 192.168.0.6
#host 192.168.0.6
6.0.168.192.in-addr.arpa domain name pointer www.penny.com

配置Windows PC dns:192.168.0.6
C:\>nslookup
DNS request timed out.
    timeout was 2 seconds.
*** Can't find server name for address 192.168.0.6: Timed out
*** Default servers are not available
Default Server:  UnKnown
Address:  192.168.0.6

> www.penny.com
Server:  UnKnown
Address:  192.168.0.6

DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.

论坛徽章:
0
2 [报告]
发表于 2006-02-28 09:34 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
3 [报告]
发表于 2006-02-28 18:09 |只看该作者
有没有人知道阿,谢谢了!!

论坛徽章:
0
4 [报告]
发表于 2006-02-28 18:12 |只看该作者
建议楼主把服务器端作为客户端作一下本地的nslookup解析
看一下,解析情况

[ 本帖最后由 qmailer 于 2006-2-28 18:14 编辑 ]

论坛徽章:
0
5 [报告]
发表于 2006-02-28 22:03 |只看该作者
[root@linuxhome etc]# nslookup www.penny.com
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.
Server:         192.168.0.6
Address:        192.168.0.6#53

Name:   www.penny.com
Address: 192.168.0.6

[root@linuxhome etc]# nslookup 192.168.0.6
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.
Server:         192.168.0.6
Address:        192.168.0.6#53

6.0.168.192.in-addr.arpa        name = www.penny.com.

论坛徽章:
33
荣誉会员
日期:2011-11-23 16:44:17天秤座
日期:2014-08-26 16:18:20天秤座
日期:2014-08-29 10:12:18丑牛
日期:2014-08-29 16:06:45丑牛
日期:2014-09-03 10:28:58射手座
日期:2014-09-03 16:01:17寅虎
日期:2014-09-11 14:24:21天蝎座
日期:2014-09-17 08:33:55IT运维版块每日发帖之星
日期:2016-04-17 06:23:27操作系统版块每日发帖之星
日期:2016-04-18 06:20:00IT运维版块每日发帖之星
日期:2016-04-24 06:20:0015-16赛季CBA联赛之天津
日期:2016-05-06 12:46:59
6 [报告]
发表于 2006-02-28 22:54 |只看该作者
原帖由 penny_r 于 2006-2-28 00:13 发表
环境:Linux PC IP:192.168.0.6           Windows PC IP:192.168.0.7
Linux PC:配置bind9, www.penny.com 192.168.0.6
配置完成后,service named start  [OK]
#host named [url]www.penny.com[/u ...


service iptables stop 之后再在Windows 上试试.

论坛徽章:
0
7 [报告]
发表于 2006-03-01 00:32 |只看该作者

回复 6楼 q1208c 的帖子

#service iptables stop 之后,解决了问题,客户端可以通过这个DNS解析www.penny.com和192.168.0.6
十分感谢楼上的朋友!!
ps:是否由于iptables关掉了DNS?如果我在iptables上打开dns是否同样可以?

论坛徽章:
0
8 [报告]
发表于 2006-03-01 07:08 |只看该作者
原帖由 penny_r 于 2006-3-1 00:32 发表
#service iptables stop 之后,解决了问题,客户端可以通过这个DNS解析www.penny.com和192.168.0.6
十分感谢楼上的朋友!!
ps:是否由于iptables关掉了DNS?如果我在iptables上打开dns是否同样可以?



这个还用问,呵呵

论坛徽章:
0
9 [报告]
发表于 2006-03-02 21:12 |只看该作者
学到了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP