diff options
author | CoprDistGit <infra@openeuler.org> | 2023-08-20 03:32:50 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-08-20 03:32:50 +0000 |
commit | 2847c413880322cd66177f0edbd1d8c2bb8c2733 (patch) | |
tree | 1450935150f579bab832ca5ef012fed37e173311 /named.rfc1912.zones | |
parent | a0619d67dc05822e0ba3e196a8d7ebc1c4c25bff (diff) |
automatic import of bind
Diffstat (limited to 'named.rfc1912.zones')
-rw-r--r-- | named.rfc1912.zones | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/named.rfc1912.zones b/named.rfc1912.zones new file mode 100644 index 0000000..fa8caf5 --- /dev/null +++ b/named.rfc1912.zones @@ -0,0 +1,45 @@ +// named.rfc1912.zones: +// +// Provided by Red Hat caching-nameserver package +// +// ISC BIND named zone configuration for zones recommended by +// RFC 1912 section 4.1 : localhost TLDs and address zones +// and https://tools.ietf.org/html/rfc6303 +// (c)2007 R W Franks +// +// See /usr/share/doc/bind*/sample/ for example named configuration files. +// +// Note: empty-zones-enable yes; option is default. +// If private ranges should be forwarded, add +// disable-empty-zone "."; into options +// + +zone "localhost.localdomain" IN { + type master; + file "named.localhost"; + allow-update { none; }; +}; + +zone "localhost" IN { + type master; + file "named.localhost"; + allow-update { none; }; +}; + +zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN { + type master; + file "named.loopback"; + allow-update { none; }; +}; + +zone "1.0.0.127.in-addr.arpa" IN { + type master; + file "named.loopback"; + allow-update { none; }; +}; + +zone "0.in-addr.arpa" IN { + type master; + file "named.empty"; + allow-update { none; }; +}; |