2023-01-27 17:24:45 +00:00
|
|
|
// 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 {
|
2022-01-25 14:07:27 +00:00
|
|
|
type primary;
|
2023-01-27 17:24:45 +00:00
|
|
|
file "named.localhost";
|
|
|
|
allow-update { none; };
|
|
|
|
};
|
|
|
|
|
|
|
|
zone "localhost" IN {
|
2022-01-25 14:07:27 +00:00
|
|
|
type primary;
|
2023-01-27 17:24:45 +00:00
|
|
|
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 {
|
2022-01-25 14:07:27 +00:00
|
|
|
type primary;
|
2023-01-27 17:24:45 +00:00
|
|
|
file "named.loopback";
|
|
|
|
allow-update { none; };
|
|
|
|
};
|
|
|
|
|
|
|
|
zone "1.0.0.127.in-addr.arpa" IN {
|
2022-01-25 14:07:27 +00:00
|
|
|
type primary;
|
2023-01-27 17:24:45 +00:00
|
|
|
file "named.loopback";
|
|
|
|
allow-update { none; };
|
|
|
|
};
|
|
|
|
|
|
|
|
zone "0.in-addr.arpa" IN {
|
2022-01-25 14:07:27 +00:00
|
|
|
type primary;
|
2023-01-27 17:24:45 +00:00
|
|
|
file "named.empty";
|
|
|
|
allow-update { none; };
|
|
|
|
};
|