Files
provisioning/ansible-5/roles/ns.xai-corp.net/templates/named.conf.default-zones.j2
richard 20d18ec966 Fixing bind9 config
cubox-m still doesn't respond to outside requests
2022-08-25 08:03:45 -04:00

35 lines
749 B
Django/Jinja

/*
* using views for internal zone requires a view for defaults
*/
view "defaults" {
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/usr/share/dns/root.hints";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
};