麒麟Sp3 Server-Dns Server配置安装
本文介绍的是同一个域名下的子域名。比如mail.zhangsan.com 与 oa.zhangsan.com。如果dnsserver解析不通的域,则需要在named.rfc1912.zones增加配置项及对应的文件。
一 vim /etc/named.conf 配置如下
// // named.conf // // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS // server as a caching only nameserver (as a localhost DNS resolver only). // // See /usr/share/doc/bind*/sample/ for example named configuration files. // options { listen-on port 53 { any; }; listen-on-v6 port 53 { ::1; }; directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; memstatistics-file "/var/named/data/named_mem_stats.txt"; secroots-file "/var/named/data/named.secroots"; recursing-file "/var/named/data/named.recursing"; allow-query { any; }; /* - If you are building an AUTHORITATIVE DNS server, do NOT enable recursion. |