
동일한 IP로 역방향 영역을 정의하려고 하면 역방향 영역이 named-checkconf
발생합니다.
$ named-checkconf named.conf.cust_zone
named.conf:63: zone '70.231.168.192.in-addr.arpa': already exists previous definition: named.conf:52
내 구성 파일.
...
// 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";
}
...
역방향 영역 이름 중 하나를 변경하면 작동합니다. 하지만 그것이 효과가 있을지 확신할 수 없나요?
그렇다면 하나의 IP에 대해 두 개의 역방향 영역을 구성할 수 있는 방법이 있습니까?
답변1
zone
에 동일한 항목을 두 번 나열했습니다 named.conf
. 각각은 zone
여기에 한 번만 나타날 수 있습니다.
귀하의 의견은 이것이 서로 다른 영역이라고 생각하는 것으로 보이지만 정확히 동일한 영역입니다.
에서 중복 항목을 제거합니다 named.conf
.