0x30c4 asked:
When I try to define reverse zone with same IP the as reverse zone named-checkconf
throws:
$ named-checkconf named.conf.cust_zone
named.conf:63: zone '70.231.168.192.in-addr.arpa': already exists previous definition: named.conf:52
My config file.
...
// zone for the 1st domain
zone "domain_1.com"{
type master;
file "file"
}
// reverse zone for 1st domain
zone "70.231.168.192.in-addr.arpa" {
type master;
file "file"; }
// zone for the 2nd domain
zone "domain_2.com"{
type master;
file "file"
}
// reverse zone for 2nd domain
zone "70.231.168.192.in-addr.arpa" {
type master;
file "file";
}
...
It works when I change one of the reverse zone name. But I am not sure would it work ?
So, is there are any way to configure two reverse zone for one IP ?
My answer:
You have listed the same zone
twice in named.conf
. Each zone
can only appear once here.
Your comments seem to indicate that you think these are different zones, but they are exactly the same zone.
Remove the duplicate entry from named.conf
.
View the full question and any other answers on Server Fault.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.