⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 028.htm

📁 LINUX的操作系统分析文件和使用文件
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- saved from url=(0056)http://data.km169.net/wsxx/showjq.asp?id=1336&type=LINUX --><html><head><title>New Page 1</title><meta content="text/html; charset=gb2312" http-equiv="Content-Type"><meta content="Microsoft FrontPage 3.0" name="GENERATOR"><meta content="FrontPage.Editor.Document" name="ProgId"><!--webbot bot="HTMLMarkup" startspan TAG="XBOT" --></SCRIPT><!--webbot bot="HTMLMarkup" endspan--><style>A:link {	COLOR: #4444ff; TEXT-DECORATION: underline}A:visited {	COLOR: #4444ff; TEXT-DECORATION: underline}A:active {	TEXT-DECORATION: none}A:hover {	COLOR: #ff0000; TEXT-DECORATION: none}BODY {	COLOR: #505050; FONT-FAMILY: 宋体; FONT-SIZE: 9pt}TD {	FONT-FAMILY: 宋体; FONT-SIZE: 9pt}TD.a {	FONT-FAMILY: 宋体; FONT-SIZE: 9pt}TD.b {	FONT-FAMILY: 宋体; FONT-SIZE: 11pt; font-color: #ff0000}.other1 {	FONT-SIZE: 9pt; LETTER-SPACING: 0px; LINE-HEIGHT: 18px}.other2 {	FONT-SIZE: 10.5pt}</style></head><body bgColor="#FFFFFF" leftMargin="7" topMargin="7"><hr SIZE="0"><p><b><font color="#fe3a42">标题: ■&nbsp;</font><font color="#9b004e"> </font>DNS HOWTO 中译版 : Bind version 8</b><br>姓名 :Nicolai Langfeldt<br>Email:<br>地址 :<br>转摘 :http://member.netease.com/</p><p align="center"><a href="linux.htm">返回</a></p><hr SIZE="0"><p><br><br>7. Bind version 8 <br>Bind version 8 是最新的 bind 技术.我还没有尝试使用,但 David E. Smith &lt;dave@bureau42.ml.org&gt; 有.他写了这小节的其馀部份. <br><br>没有太多的不同.除了使用 named.conf 而不是 named.boot, 其馀都相同.而且 bind 8 包含了一个 perl 指令稿来将旧格式的档案转换成新的.例如一份暂存专用名称伺服器的 named.boot (旧格式): <br><br><br><br>-------------------------------------------------------------------------------- <br><br>directory /var/named <br>cache . root.hint <br>primary 0.0.127.IN-ADDR.ARPA 127.0.0.zone <br>primary localhost localhost.zone <br><br><br>-------------------------------------------------------------------------------- <br><br><br>在指令列下,於 bind8/src/bin/named 目录中键入: <br><br><br><br>-------------------------------------------------------------------------------- <br><br>named-bootconf.pl &lt; named.boot &gt; named.conf <br><br><br>-------------------------------------------------------------------------------- <br><br><br>这会产生 named.conf: <br><br><br><br>-------------------------------------------------------------------------------- <br><br>// generated by named-bootconf.pl <br><br>options { <br>directory &quot;/var/named&quot;; <br>}; <br><br>zone &quot;.&quot; { <br>type hint; <br>file &quot;root.hint&quot;; <br>}; <br><br>zone &quot;0.0.127.IN-ADDR.ARPA&quot; { <br>type master; <br>file &quot;127.0.0.zone&quot;; <br>}; <br><br>zone &quot;localhost&quot; { <br>type master; <br>file &quot;localhost.zone&quot;; <br>}; <br><br><br>-------------------------------------------------------------------------------- <br><br><br>它将 named.boot 中的每样东西都转换过来,然而它并未加入所有 bind 8 所允许的新强化及配置选项.这里有份较完整的 named.conf 做同样的事,但是效率更好一点. <br><br><br><br>-------------------------------------------------------------------------------- <br><br>// This is a configuration file for named (from BIND 8.1 or later). <br>// It would normally be installed as /etc/named.conf. <br>// The only change made from the `stock' named.conf (aside from this <br>// comment :) is that the directory line was uncommented, since I <br>// already had the zone files in /var/named. <br><br>options { <br>directory &quot;/var/named&quot;; <br>check-names master warn; /* default. */ <br>datasize 20M; <br>}; <br><br>zone &quot;localhost&quot; IN { <br>type master; <br>file &quot;localhost.zone&quot;; <br>check-names fail; <br>allow-update { none; }; <br>allow-transfer { any; }; <br>}; <br><br>zone &quot;0.0.127.in-addr.arpa&quot; IN { <br>type master; <br>file &quot;127.0.0.zone&quot;; <br>check-names fail; <br>allow-update { none; }; <br>allow-transfer { any; }; <br>}; <br><br>zone &quot;.&quot; IN { <br>type hint; <br>file &quot;root.hint&quot;; <br>}; <br><br><br>-------------------------------------------------------------------------------- <br><br><br>bind8/src/bin/named/test 里有这个□例,以及领域档案的拷贝,许多人可以直接拿来修改使用. <br><br>领域档案及 root.hint (root.cache) 完全相同,更新它们的指令也是. </p><hr SIZE="0"><p align="center"><a href="linux.htm">返回</a></p><p><br><br></p></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -