扫一扫
关注微信公众号

《Debian服务器设置入门》系列教程-第五章
2009-01-11   

前 言 准备工作和一些废话
第一章 配置Apache+MySQL+PHP4
第二章 用Wu-ftpd配置FTP服务器
第三章 用Exim配置邮件服务器
第四章 配置Samba服务器
第五章 用Bind配置DNS服务器

ind配置DNS服务器

1 什么是DNS


3 BIND介绍

192.1.110.120 debian.test.com debian
192.1.110.122 notepad.test.com notepad

search test.com
nameserver 192.1.110.120

; 这是bind 4.x的注释,前面用分号

//
//
zone "test.com" in { 
type master;
file "db.test"; 
};
//
//
zone "110.1.192.in-addr.arpa" in { 
type master; 
file "db.192.1.110";
}; 


//
//
zone "0.0.127.in-addr.arpa" in { 
type master; 
file "db.127.0.0"; 
};
//

把上面的内容保存为你的/etc/bind/named.conf。


; 
test.com.  IN NS  debian.test.com.

; 
localhost.test.com.  IN A         127.0.0.1
debian.test.com.     IN A         192.1.110.120
notepad.test.com.    IN A         192.1.110.122


www                  IN IN 

120 PTR debian.test.com.
122 PTR notepad.test.com.

6 TODO

8 参考文献

http://www.ccidnet.com/html/tech/os/2001/12/27/92_3895.html


热词搜索:

上一篇:《Debian服务器设置入门》系列教程-第四章
下一篇:什么是64位计算

分享到: 收藏