局域网内部的dns服务器的作用?

由 bobo 在 03-13-2003 23:05 发表:

局域网内部的dns服务器的作用?

局域网内部的dns服务器到底是为内部的机子解析外面的主机IP

还是可以为外部的机子解析内部的IP

或者是两者都有,


由 SickWorm 在 03-14-2003 12:26 发表:


一般来说,内部DNS解析内网和外网的IP,是只为内网的机子解析的。


由 beyondsakai 在 03-14-2003 14:41 发表:


"内部DNS解析内网和外网的IP,是只为内网的机子解析的"

不明白,既然内外都解析,为什么只为内网解析?

如果外面的机器要访问内部的www,ftp等服务器

,但内网的DNS又不为外网的机器提供IP地址,那要怎么办?


由 SickWorm 在 03-14-2003 16:25 发表:


> quote: > > * * * > > 最初由 beyondsakai 发布
>
> **"内部DNS解析内网和外网的IP,是只为内网的机子解析的"
>
> 不明白,既然内外都解析,为什么只为内网解析?
>
>
>
> 如果外面的机器要访问内部的www,ftp等服务器
>
> ,但内网的DNS又不为外网的机器提供IP地址,那要怎么办? ** > > * * *

只为内网是说外网无法访问内网,所以只为内网服务,而且内网可以自己定义一些解析,而不用向什么什么的申请;比如说你解析bbs.***.com,这个对应172.16.×.×,这样公网是不能访问的,但是私网就可以用这个域名来访问了。

内网由firewall隔开来了,如果要做的话,可以用iptables的反向nat来做。


由 Snoopy 在 03-14-2003 16:30 发表:


我问一个问题,比如我在内部作个dns,域名是163.com

但我内部的机访问163.com的时候是访问内部的还是外部的?

为何是外部的呢???


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 SickWorm 在 03-14-2003 16:49 发表:


> quote: > > * * * > > 最初由 pinksnoopy 发布
>
> **我问一个问题,比如我在内部作个dns,域名是163.com
>
>
>
> 但我内部的机访问163.com的时候是访问内部的还是外部的?
>
>
>
> 为何是外部的呢??? ** > > * * *

不应该是这样的,如果你的内部的dns设置 www.163.com为172.16.×.×,那么你的...找个dns来解析。


由 bobo 在 03-14-2003 17:13 发表:


我的猫的配置页面中关于NAT的配置中有这么两个按钮:

增加Global Address Pool...

增加Reserved Mapping...

配置下面的那个可以使外网可以访问内网,

但不知道上面的那一项是干什么用的。

请兄弟解释一下

谢谢


由 SickWorm 在 03-14-2003 17:21 发表:


> quote: > > * * * > > 最初由 bobo 发布
>
> **我的猫的配置页面中关于NAT的配置中有这么两个按钮:
>
> 增加Global Address Pool...
>
> 增加Reserved Mapping...
>
>
>
> 配置下面的那个可以使外网可以访问内网,
>
> 但不知道上面的那一项是干什么用的。
>
> 请兄弟解释一下
>
> 谢谢 ** > > * * *

你的猫??有这么强的功能??

errr,没见过,真的。

给我们讲讲吧。


由 Snoopy 在 03-14-2003 19:03 发表:


> quote: > > * * * > > 最初由 SickWorm 发布
>
> **
>
>
>
>
>
> 不应该是这样的,如果你的内部的dns设置 www.163.com为172.16.×.×,那么你的...找个dns来解析。 ** > > * * *

找个dns来解释???什么意思呢???


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 SickWorm 在 03-14-2003 19:57 发表:


> quote: > > * * * > > 最初由 pinksnoopy 发布
>
> **
>
>
>
>
>
> 找个dns来解释???什么意思呢??? ** > > * * *

原文因该是这样的,论坛的自动功能出了些错。

不应该是这样的,如果你的内部的dns设置

http://www.163.com

为172.16.×.×,

那么你的电脑设置dns为你内部dns的时候,显示的应该是你这个172.16.×.×

的网页。内部dns只有在自己无法解析的时候才从外网找个dns来解析。/

不知道这样能看得懂吗??


由 Snoopy 在 03-14-2003 20:50 发表:


看不懂 ,如果可以你能讲详细点吗??


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus