<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.weweweb.net/wiki/index.php?action=history&amp;feed=atom&amp;title=DNS</id>
	<title>DNS - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.weweweb.net/wiki/index.php?action=history&amp;feed=atom&amp;title=DNS"/>
	<link rel="alternate" type="text/html" href="https://www.weweweb.net/wiki/index.php?title=DNS&amp;action=history"/>
	<updated>2026-05-20T03:48:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.5</generator>
	<entry>
		<id>https://www.weweweb.net/wiki/index.php?title=DNS&amp;diff=82&amp;oldid=prev</id>
		<title>Willy: Created page with &quot;In CentOS, the following packages are related to DNS:  # bind..............................DNS 主程式 # bind-chroot..................將 bind 主程式關在家理 # bind-u...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.weweweb.net/wiki/index.php?title=DNS&amp;diff=82&amp;oldid=prev"/>
		<updated>2022-01-27T03:59:20Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;In CentOS, the following packages are related to DNS:  # bind..............................DNS 主程式 # bind-chroot..................將 bind 主程式關在家理 # bind-u...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In CentOS, the following packages are related to DNS:&lt;br /&gt;
&lt;br /&gt;
# bind..............................DNS 主程式&lt;br /&gt;
# bind-chroot..................將 bind 主程式關在家理&lt;br /&gt;
# bind-utils......................用戶搜詢主機名稱的相關指令&lt;br /&gt;
# system-config-bind&lt;br /&gt;
# caching-nameserver&lt;br /&gt;
&lt;br /&gt;
Only the first three packages are required to install.&lt;br /&gt;
&lt;br /&gt;
Following the following steps:&lt;br /&gt;
&lt;br /&gt;
1. In /usr/share/doc/bind-9.3.6/sample/ there are two directories etc/ and var/ copy the files to etc/ 及 var/named/ under /var/named/chroot/.&lt;br /&gt;
&lt;br /&gt;
2. Update the named.conf file.&lt;br /&gt;
&lt;br /&gt;
3. There are lines like:&lt;br /&gt;
&lt;br /&gt;
  key ddns_key {&lt;br /&gt;
        algorithm hmac-md5;&lt;br /&gt;
        secret &amp;quot;use /usr/sbin/dns-keygen to generate TSIG keys&amp;quot;;&lt;br /&gt;
  };&lt;br /&gt;
&lt;br /&gt;
If you don't need dynamic update, you can disable it. For gen the key accordingly. You can also use:&lt;br /&gt;
  Include &amp;quot;/etc/named.keys&amp;quot;;&lt;br /&gt;
And put all key values in that file.&lt;br /&gt;
&lt;br /&gt;
4. Put all the zone information inside the view section.&lt;br /&gt;
&lt;br /&gt;
5. To enable write of master zone, put 'ENABLE_ZONE_WRITE=yes' in /etc/sysconfig/named.&lt;br /&gt;
&lt;br /&gt;
6. Start named service&lt;br /&gt;
  service named start&lt;br /&gt;
----&lt;br /&gt;
Goto [[Linux]]&lt;/div&gt;</summary>
		<author><name>Willy</name></author>
	</entry>
</feed>