普通的服务器是不是不用运行DNS服务?

由 风暴眼 在 07-31-2003 18:10 发表:

普通的服务器是不是不用运行DNS服务?

用DNS服务器指向它的IP就可以了吧?


由 Glue 在 07-31-2003 18:37 发表:

DNS服务有两个作用,

1. 对外,让外部的机子知道本机所管的域名-IP关系。

2. 对内,让内部的机子较快的得到所要的域名/IP(使用cache)


-_-


由 Snoopy 在 07-31-2003 19:52 发表:


“2. 对内,让内部的机子较快的得到所要的域名/IP(使用cache)”

你指的缓存是?可以解释一下吗?


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


由 欧可侠 在 07-31-2003 20:55 发表:


错。

任何拥有固定IP的服务器都可以运行DNS,成为世界中DNS服务器的一员。

所谓“对内”,是指作为本地局域网的DNS服务器,这样以来局域网内的计算机可以将DNS服务器指向该服务器,“就近”解决域名问题。例如:

我的named.conf中作了如下的配置:

if from 192.168.1.0/24 {

reference file = /var/named/in/internal.abc;

} else reference file = /var/named/ex/external.abc;

<br

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