pub-dns/primary/etc/bind/named.conf

97 lines
2.3 KiB
Plaintext

options {
directory "/var/lib/named";
dump-file "/var/log/named_dump.db";
statistics-file "/var/log/named.stats";
# The forwarders record contains a list of servers to which queries
# should be forwarded. Up to three servers may be listed.
#forwarders { 62.31.176.39 ; 193.38.113.3; };
# Enable the next entry to prefer usage of the name server declared in
# the forwarders section.
#forward first;
#listen-on-v6 { any; };
# If notify is set to yes (default), notify messages are sent to other
# name servers when the zone data is changed. Instead of setting
# a global 'notify' statement in the 'options' section, a separate
# 'notify' can be added to each zone definition.
notify yes;
};
# The following zone definitions don't need any modification. The first one
# is the definition of the root name servers. The second one defines
# localhost while the third defines the reverse lookup for localhost.
#zone "." in {
# type hint;
# file "root.hint";
#};
#zone "localhost" in {
# type master;
# file "localhost.zone";
#};
#zone "0.0.127.in-addr.arpa" in {
# type master;
# file "127.0.0.zone";
#};
# This is where you put in the link to the zone you
# want to serve
zone "in.thelinuxpro.net" in {
type master;
file "/var/lib/named/in.thelinuxpro.net.zone";
allow-transfer { 10.99.153.242; };
also-notify { 10.99.153.242; };
};
zone "254.200.10.in-addr.arpa" in {
type master;
file "10.200.254.zone";
};
zone "99.200.10.in-addr.arpa" in {
type master;
file "10.200.99.zone";
};
zone "53.200.10.in-addr.arpa" in {
type master;
file "10.200.53.zone";
};
zone "153.99.10.in-addr.arpa" in {
type master;
file "10.99.153.zone";
};
zone "23.99.10.in-addr.arpa" in {
type master;
file "10.99.23.zone";
};
zone "22.99.10.in-addr.arpa" in {
type master;
file "10.99.22.zone";
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
};
# Include the meta include file generated by createNamedConfInclude. This
# includes all files as configured in NAMED_CONF_INCLUDE_FILES from
# /etc/sysconfig/named
include "/etc/named.conf.include";