I have one server Bind9 and 2 different domains.
I'ld like to have reverse resolution for each domain.
I've tried this configuration below but I get the error in named-checkconf
:
/etc/bind/named.conf:30: zone '10.0.10.in-addr.arpa': already exists previous definition:/etc/bind/named.conf:19
My configuration :
zone "ngux.org" {
type master;
file "/etc/bind/db.ngux.org";
allow-transfer { 10.0.10.99; };
};
zone "10.0.10.in-addr.arpa" {
type master;
file "/etc/bind/db.ngux.org.rev";
allow-transfer { 10.0.10.99; };
};
zone "ldap.ngux.lan" {
type master;
file "/etc/bind/db.ldap.ngux.lan";
allow-transfer { 10.0.10.99; };
};
zone "10.0.10.in-addr.arpa" {
type master;
file "/etc/bind/db.ldap.ngux.lan.rev";
allow-transfer { 10.0.10.99; };
};
What should I do ? Have only one file for the 2 reverses addrreses ?
Thanx.