📄 00000010.htm
字号:
<HTML><HEAD> <TITLE>BBS水木清华站∶精华区</TITLE></HEAD><BODY><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER>发信人: czlong (紫龙), 信区: Linux <BR>标 题: DNS HOWTO 中译版-9 <BR>发信站: BBS 水木清华站 (Sun Feb 4 15:49:12 2001) <BR> <BR> <BR>9. 常见问题解答 <BR>本节中我将列出一些关於 DNS 以及本文件最常被提出的问题.还有解答 :-) 在写 <BR>信给我前请先阅读过本节. <BR> <BR> <BR>如何在防火墙之内使用 DNS ? <BR>一些提示: `forwarders', `slave', 以及参考本文件最後面的文献列表. <BR> <BR> <BR>如何利用 DNS 提供的可用位址於某一服务,如 www.busy.site,以获得负荷平衡 <BR>或类似的效果? <BR>为 www.busy.site 加上许多 A 记录,而且使用 bind 4.9.3 或以後的版本.这样 <BR> bind 会使用 round-robin 演算法找寻答案.这不能在更早版本的 bind 上工作 <BR>. <BR> <BR> <BR>我想在一封闭的 Intranet 上架设 DNS.我该怎麽做? <BR>把暂存档案丢掉只留区域档案.这也表示你将不需要更新暂存档案. <BR> <BR> <BR>我的系统没有 ndc 程式.我该怎麽办? <BR>你的系统安装过一旧的,可能过期的 bind 程式.如果安全性对你很重要: 立刻将 <BR> bind 升级.如果不是,你也可以用这旧的.你可直接执行 named 而不是 ndc <BR>start. ndc reload 变成 named.reload 而 ndc restart 变成 named.restart. <BR>所有这些程式可能都在 /usr/sbin 里. <BR> <BR> <BR>如何建立次要名称伺服器? <BR>如果主要名称伺服器的地址是 127.0.0.1,在你的次要名称伺服器的 named. <BR>boot 档案中放一行: <BR> <BR> <BR>------------------------------------------------------------------------ <BR>-------- <BR> <BR> secondary linux.bogus 127.0.0.1 sz/linux.bogus <BR> <BR> <BR> <BR>------------------------------------------------------------------------ <BR>-------- <BR> <BR> <BR>我希望离线时 bind 仍继续执行. <BR>我收到来自 Ian Clark < <A HREF="mailto:ic@deakin.edu.au>">ic@deakin.edu.au></A> 的信件解释他如何办到这点. <BR> <BR>I run named on my 'Masquerading' machine here. I have <BR>two root.cache files, one called root.cache.real which contains <BR>the real root server names and the other called root.cache.fake <BR>which contains... <BR> <BR>-------------- <BR>; root.cache.fake <BR>; this file contains no information <BR>-------------- <BR> <BR>When I go off line I copy the root.cache.fake file to root.cache and <BR>restart named. <BR> <BR>When I go online I copy root.cache.real to root.cache and restart <BR>named. <BR> <BR>This is done from ip-down & ip-up respectively. <BR> <BR>The first time I do a query off line on a domain name named doesn't <BR>have details for it puts an entry like this in messages.. <BR> <BR>Jan 28 20:10:11 hazchem named[10147]: No root nameserver for class IN <BR> <BR>which I can live with. <BR> <BR>It certainly seems to work for me. I can use the nameserver for <BR>local machines while off the 'net without the timeout delay for <BR>external domain names and I while on the 'net queries for external <BR>domains work normally <BR> <BR> <BR>名称伺服器将暂存资料保存在那儿? 有任何方法可以控制它的大小吗? <BR>所有的暂存资料都保存在记忆体中,任何时刻它都不会被写入磁碟中.每次你杀掉 <BR> named 时这些暂存资料就没有了.没有任何方法可以控制暂存资料. named 用一 <BR>些简单的法则来管理它.你不能用任何理由任何方法控制暂存资料或其大小.如果 <BR>你希望如此你可以自己去改 named 的程式.不过最好别这麽做. <BR> <BR> <BR>如何在重新起始 named 之间保存暂存资料? 我可以把它存下来吗? <BR>不! named 被杀掉时不会保留暂存资料.这就是说暂存资料必须在每次你杀掉并重 <BR>新起始 named 後重新建立. 没有办法让 named 将暂存资料存到档案里.如果你 <BR>希望如此你可以自己去改 named 的程式.不过最好别这麽做. <BR> <BR> <BR> <BR>-- <BR> <BR>※ 来源:·BBS 水木清华站 smth.org·[FROM: 210.34.33.55] <BR><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -