|
297.
|
|
|
If you need to specify a WINS server for your Windows clients, you will need to include the netbios-name-servers option, e.g.
|
|
|
|
如果您需要为您的 Windows 客户机指定一个 WINS 服务器,您需要包含 netbios-name-servers 选项,如:
|
|
Translated and reviewed by
姚渺波
|
|
|
|
Located in
serverguide/C/network-config.xml:993(para)
|
|
298.
|
|
|
option netbios-name-servers 192.168.1.1;
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
option netbios-name-servers 192.168.1.1;
|
|
Translated and reviewed by
姚渺波
|
|
|
|
Located in
C/network-applications.xml:972(screen)
|
|
299.
|
|
|
Dhcpd configuration settings are taken from the DHCP mini-HOWTO, which can be found <ulink url="http://www.tldp.org/HOWTO/DHCP/index.html">here</ulink>.
|
|
|
|
Dhcpd 配置设置可以从 DHCP 快速指南中得到,该指南可以在 <ulink url="http://www.tldp.org/HOWTO/DHCP/index.html">这里</ulink> 找到。
|
|
Translated and reviewed by
姚渺波
|
|
|
|
Located in
serverguide/C/network-config.xml:1000(para)
|
|
300.
|
|
|
DHCP FAQ
|
|
|
|
DHCP 常见问答
|
|
Translated and reviewed by
姚渺波
|
|
|
|
Located in
serverguide/C/network-config.xml:641(ulink)
|
|
301.
|
|
|
Domain Name Service (DNS)
|
|
|
|
域名解析服务 (DNS)
|
|
Translated and reviewed by
Rkyo
|
|
|
|
Located in
serverguide/C/dns.xml:13(title)
|
|
302.
|
|
|
Domain Name Service (DNS) is an Internet service that maps IP addresses and fully qualified domain names (FQDN) to one another. In this way, DNS alleviates the need to remember IP addresses. Computers that run DNS are called <emphasis>name servers</emphasis>. Ubuntu ships with <application>BIND</application> (Berkley Internet Naming Daemon), the most common program used for maintaining a name server on GNU/Linux.
|
|
|
|
域名解析服务 (DNS) 是一个 Internet 服务,相互映射 IP 地址和完全限定域名 (FQDN) 。通过这种方式,使用 DNS 将不再需要记住 IP 地址。运行 DNS 的计算机称为 <emphasis>名称服务器</emphasis>。Ubuntu 提供 <application>BIND</application> (伯克利 Internet 名称守护程序),一个在 GNU/Linux 上最常用的维护名称服务器的程序。
|
|
Translated and reviewed by
姚渺波
|
|
|
|
Located in
C/network-applications.xml:986(para)
|
|
303.
|
|
|
At a terminal prompt, enter the following command to install <application>dns</application>:
|
|
|
|
在终端提示符后输入以下命令来安装 <application>dns</application>:
|
|
Translated and reviewed by
姚渺波
|
|
|
|
Located in
serverguide/C/dns.xml:24(para)
|
|
304.
|
|
|
sudo apt-get install bind
|
|
|
|
sudo apt-get install bind
|
|
Translated and reviewed by
姚渺波
|
|
|
|
Located in
C/network-applications.xml:1000(command)
|
|
305.
|
|
|
The DNS configuration files are stored in the <filename>/etc/bind</filename> directory. The primary configuration file is <filename>/etc/bind/named.conf</filename>. The content of the default configuration file is shown below:
|
|
|
|
DNS 配置文件被保存在 <filename>/etc/bind</filename> 目录中。主配置文件叫 <filename>/etc/bind/named.conf</filename>。缺省配置文件的内容如下所示:
|
|
Translated and reviewed by
姚渺波
|
|
|
|
Located in
C/network-applications.xml:1006(para)
|
|
306.
|
|
|
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind/README.Debian for information on the
// structure of BIND configuration files in Debian for BIND versions 8.2.1
// and later, *BEFORE* you customize this configuration file.
//
include "/etc/bind/named.conf.options";
// reduce log verbosity on issues outside our control
logging {
[tab] category lame-servers { null; };
[tab] category cname { null; };
};
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
// add local zone definitions here
include "/etc/bind/named.conf.local";
|
|
|
[tab] represents a tab character.
Please write it exactly the same way, [tab] , in your
translation.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind/README.Debian for information on the
// structure of BIND configuration files in Debian for BIND versions 8.2.1
// and later, *BEFORE* you customize this configuration file.
//
include "/etc/bind/named.conf.options";
// reduce log verbosity on issues outside our control
logging {
[tab] category lame-servers { null; };
[tab] category cname { null; };
};
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
// add local zone definitions here
include "/etc/bind/named.conf.local";
|
|
Translated and reviewed by
姚渺波
|
|
|
|
Located in
C/network-applications.xml:1015(programlisting)
|