Reverse Zone CIDR
Jonathan Del Campo
jdc at mikrosimage.eu
Wed May 25 09:37:32 UTC 2016
Hello,
We are trying to create a zone for a /23 subnet (192.168.222.0/23), but we
can't get the reverse zone working.
There is our config :
*/etc/named/domain.int.zonefile :*
zone "0/23.222.168.192.in-addr.arpa" IN {
type master;
file "dynamic/0-23.222.168.192.in-addr.arpa";
};
*/var/named/dynamic/0-23.222.168.192.in-addr.arpa :*
$ORIGIN .
$TTL 3600 ; 1 hour
0/23.222.168.192.in-addr.arpa IN SOA dns1.domain.int. sysadmin.domain.eu.
(
2013021143 ; serial
1200 ; refresh (20 minutes)
3600 ; retry (1 hour)
1209600 ; expire (2 weeks)
3600 ; minimum (1 hour)
)
NS DNS1.domain.int.
$ORIGIN 0/23.222.168.192.in-addr.arpa.
$TTL 86400 ; 1 day
102 PTR vegeta.domain.int.
...
I don't know if the naming convention is correct ( 0-23 vs 0/23 ) ?
Can you please help ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20160525/55730851/attachment.html>
More information about the bind-users
mailing list