diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:59:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:59:49 +0000 |
commit | 0e764bd6a393ec1a7e876e4cafbbf0665e78849c (patch) | |
tree | bd15cfb16df2d659532769e8bdfd76a16c7f7ad6 /debian/extras/etc/named.conf | |
parent | Adding upstream version 1:9.18.19. (diff) | |
download | bind9-0e764bd6a393ec1a7e876e4cafbbf0665e78849c.tar.xz bind9-0e764bd6a393ec1a7e876e4cafbbf0665e78849c.zip |
Adding debian version 1:9.18.19-1~deb12u1.debian/1%9.18.19-1_deb12u1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/extras/etc/named.conf | 11 | ||||
-rw-r--r-- | debian/extras/etc/named.conf.default-zones | 30 | ||||
-rw-r--r-- | debian/extras/etc/named.conf.local | 8 | ||||
-rw-r--r-- | debian/extras/etc/named.conf.options | 24 |
4 files changed, 73 insertions, 0 deletions
diff --git a/debian/extras/etc/named.conf b/debian/extras/etc/named.conf new file mode 100644 index 0000000..bc71baa --- /dev/null +++ b/debian/extras/etc/named.conf @@ -0,0 +1,11 @@ +// This is the primary configuration file for the BIND DNS server named. +// +// Please read /usr/share/doc/bind9/README.Debian for information on the +// structure of BIND configuration files in Debian, *BEFORE* you customize +// this configuration file. +// +// If you are just adding zones, please do that in /etc/bind/named.conf.local + +include "/etc/bind/named.conf.options"; +include "/etc/bind/named.conf.local"; +include "/etc/bind/named.conf.default-zones"; diff --git a/debian/extras/etc/named.conf.default-zones b/debian/extras/etc/named.conf.default-zones new file mode 100644 index 0000000..1a85ad3 --- /dev/null +++ b/debian/extras/etc/named.conf.default-zones @@ -0,0 +1,30 @@ +// 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"; +}; + + diff --git a/debian/extras/etc/named.conf.local b/debian/extras/etc/named.conf.local new file mode 100644 index 0000000..7a57b10 --- /dev/null +++ b/debian/extras/etc/named.conf.local @@ -0,0 +1,8 @@ +// +// Do any local configuration here +// + +// Consider adding the 1918 zones here, if they are not used in your +// organization +//include "/etc/bind/zones.rfc1918"; + diff --git a/debian/extras/etc/named.conf.options b/debian/extras/etc/named.conf.options new file mode 100644 index 0000000..4778d18 --- /dev/null +++ b/debian/extras/etc/named.conf.options @@ -0,0 +1,24 @@ +options { + directory "/var/cache/bind"; + + // If there is a firewall between you and nameservers you want + // to talk to, you may need to fix the firewall to allow multiple + // ports to talk. See http://www.kb.cert.org/vuls/id/800113 + + // If your ISP provided one or more IP addresses for stable + // nameservers, you probably want to use them as forwarders. + // Uncomment the following block, and insert the addresses replacing + // the all-0's placeholder. + + // forwarders { + // 0.0.0.0; + // }; + + //======================================================================== + // If BIND logs error messages about the root key being expired, + // you will need to update your keys. See https://www.isc.org/bind-keys + //======================================================================== + dnssec-validation auto; + + listen-on-v6 { any; }; +}; |