Redirecting to
/bin/systemctl
start named.service
options {
//listen-on
port 53 { 127.0.0.1; };
listen-on port 53 { any; };
//dnssec-enable
yes
;
dnssec-
enable
no;
//dnssec-validation
yes
;
dnssec-validation no;
dnssec-lookaside auto;
//allow-query
{ localhost; };
allow-query { any; };
allow-transfer { 192.168.188.11; 192.168.188.12; };
forwarders {202.102.224.68; 202.102.227.68; };
};
//
LEAUS Add 添加正向ZONE
zone
"bigcloud.local"
IN {
type
master;
file
"bigcloud.zone"
;
};
//
添加反向ZONE
zone
"0.0.10.in-addr.arpa"
IN {
type
master;
file
"10.0.0.zone"
;
};
$TTL 3H
@ IN SOA zzsrv1.bigcloud.
local
. rname.invalid. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
NS zzsrv1.bigcloud.
local
.
zzsrv1 A 192.168.188.11
zzsrv2 A 192.168.188.12
ftp
A 192.168.188.11
mailsrv1 A 192.168.188.22
www A 192.168.188.11
crm A 192.168.188.11
smtp CNAME mailsrv1.bigcloud.
local
.
pop3 CNAME mailsrv1.bigcloud.
local
.
反向ZONE文件
$TTL 3H
@ INSOA zzsrv1.bigcloud.
local
. tom_chen.126.com (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H) ; minimum
IN NS zzsrv1.bigcloud.
local
.
IN NS zzsrv2.bigcloud.
local
.
11 IN PTR zzsrv1.bigcloud.
local
.
11 IN PTR
ftp
.bigcloud.
local
.
12 IN PTR zzsrv2.bigcloud.
local
.
12 IN PTR mailsrv1.bigcloud.
local
.
设置为自动启动