Debian 配置Bind9 DNS服务器
来源:互联网 发布:尚观大数据培训怎么样 编辑:程序博客网 时间:2024/04/28 08:53
1 Installing bind
apt-get install bind
vi /etc/bind/named.conf
type master;
file "named.sip.com";
};
3 Configure zone file
我们这里添加的是named.sip.com
vi /etc/bind/named.sip.com
; BIND db file for sip.com
$TTL 86400
@ IN SOA primary.sip.com. admin.sip.com. (
2008090301 ; serial number YYMMDDNN
28800 ; Refresh
7200 ; Retry
864000 ; Expire
86400 ; Min TTL
)
NS primary.sip.com.
NS secondary.sip.com.
MX 10 mail.sip.com.
MX 20 mail-spool.sip.com.
_sip._udp SRV 0 1 9 primary.sip.com. ;SRV 记录
SRV 0 3 9 secondary.sip.com.
primary IN A
secondary IN A
mail IN A
mail-spool IN A
$ORIGIN sip.com.
4 Test
echo "nameserver 127.0.0.1" > /etc/resolv.conf
/etc/init.d/bind start
dig primary.sip.com
dig -t SRV _sip._udp.sip.com
note:
可以通过http://pgl.yoyo.org/adservers/bind-zone-file-creator.php 这个PHP 生成需要的zone file , 自己修改!
- Debian 配置Bind9 DNS服务器
- WindowsXP下利用bind9配置DNS服务器
- WindowsXP下利用bind9配置DNS服务器
- Ubuntu采用bind9配置DNS服务器
- DNS Bind9 配置小记
- DNS bind9配置
- BIND9.9.9配置DNS
- Ubuntu下DNS服务器的配置——Bind9
- ubuntu下配置bind9为局域网的DNS服务器
- [DNS] BIND9详解 BIND9配置方法
- Centos Bind9 DNS 服务器架设
- Centos Bind9 DNS 服务器架设
- debian 5.04 lenny 配置DNS服务器
- BIND9私有DNS服务器中使用DNSSEC
- Hadoop 通过bind9配置DNS服务器替代hosts的IP映射(ubuntu版)
- DNS服务(bind9)配置过程
- 在Debian上用Bind配置DNS服务器
- 在Debian上用Bind 配置DNS服务器
- 佳得视数字电视机顶盒共享器原理分析
- C#读取Excel数据
- 浮点数在计算机中存储方式 (转)
- 软件开发人员发展的几个阶段和问题(转)
- VC++如何读写excel
- Debian 配置Bind9 DNS服务器
- 测试培训的对话
- 重新理解MTA
- bool , float, 指针变量与“零值”比较的标准风格
- 在visual studio中删除最近打开的项目和文件记录的方法
- 查看本机器的oralce 的SID
- 简单解析url参数的js对象。
- iframe高度自适应的有效办法
- ldconfig