named
作者 佚名技术
来源 Linux系统
浏览
发布时间 2012-05-16
主配置文件:/var/named/chroot/etc/named.conf
========================================================
// Red Hat BIND Configuration Tool // // Default initial "Caching .ly" name server configuration // options { directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; /* * If there is a firewall between you and nameservers you want * to talk to, you might need to uncomment the query-source * directive below. Previous versions of BIND always asked * questions using port 53, but BIND 8.1 uses an unprivileged * port by default. */ // query-source address * port 53; }; #zone "." IN { # type hint; # file "named.root"; #}; zone "localdomain." IN { type master; file "localdomain.zone"; allow-update { none; }; }; zone "jay.com." IN { type master; file "jay.com."; allow-update { none; }; }; zone "3.168.192.in-addr.arpa." IN { type master; file "192.168.3.0"; allow-update { none; }; }; zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa." IN { type master; file "named.ip6.local"; allow-update { none; }; }; zone "255.in-addr.arpa." IN { type master; file "named.broadcast"; allow-update { none; }; }; zone "0.in-addr.arpa." IN { type master; file "named.zero"; allow-update { none; }; }; include "/etc/rndc.key"; ====================================================== 正向区域文件:/var/named/chroot/var/named/jay.com 拥有帝国一切,皆有可能。欢迎访问phome.net======================================================= $TTL 86400 @ IN SOA jay.com root.jay.com ( 42 ; serial (d. adams) 3H ; refresh 15M ; retry 1W ; expiry 1D ) ; minimum IN NS jay.com IN A 192.168.3.162 IN MX 5 mail.jay.com mail IN A 192.168.3.162 www IN A 192.168.3.166 ====================================================== 反向区域文件::/var/named/chroot/var/named/192.168.2.0 ======================================================= $TTL 86400 @ IN SOA jay.com. root.jay.com. ( 42 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum IN NS jay.com. 162 IN PTR jay.com. 162 IN PTR mail.jay.com 166 IN PTR www.jay.com. ======================================================== 拥有帝国一切,皆有可能。欢迎访问phome.net |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |
你可能对下面的文章感兴趣
上一篇: 超级RHEL5之KICKSTART批量网络无人职守安装{详解篇}一下一篇: vsftpd
关于named的所有评论