2018-02-13 04:35:24 +00:00
|
|
|
//
|
|
|
|
// Do any local configuration here
|
|
|
|
//
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
// STANDARD ZONES
|
|
|
|
include "/etc/bind/named.conf.default-zones";
|
|
|
|
|
|
|
|
// Consider adding the 1918 zones here, if they are not used in your
|
|
|
|
// organization
|
|
|
|
include "/etc/bind/named.conf.rfc1918";
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
#######################################
|
|
|
|
# REVERSE 'PTR' RECORDS #
|
|
|
|
#######################################
|
|
|
|
# example reverse zone: 1.2.3.4/24
|
|
|
|
//zone "4.3.2.1.in-addr.arpa" {
|
|
|
|
// type master;
|
2018-02-28 15:50:35 +00:00
|
|
|
// file "/var/cache/bind/1.2.3.4.rev";
|
2018-02-13 04:35:24 +00:00
|
|
|
// notify yes;
|
|
|
|
//};
|
|
|
|
|
|
|
|
|
|
|
|
#######################################
|
|
|
|
# FORWARD 'A' RECORDS #
|
|
|
|
#######################################
|
|
|
|
# example "forward" (domain) zone: domain.tld
|
|
|
|
//zone "domain.tld" {
|
|
|
|
// type master;
|
2018-02-28 15:50:35 +00:00
|
|
|
// file "/var/cache/bind/domain.tld";
|
2018-02-13 04:35:24 +00:00
|
|
|
// notify yes;
|
|
|
|
// #also-notify { a.b.c.d; };
|
|
|
|
// #allow-transfer { localhost; a.b.c.d; };
|
|
|
|
// # vs
|
|
|
|
// #allow-transfer { "none"; };
|
|
|
|
//};
|