plesk / ext-slave-dns-manager

The extension for managing a remote slave DNS server via rndc protocol (bind).
Other
16 stars 12 forks source link

bind won't restart - zone 'dom.tld' already exists #34

Open futureweb opened 5 years ago

futureweb commented 5 years ago

Hello, found a bit dangerous behaviour - the Plugin doesn't check if the Zone it transfers to Slave DNS Servers is already present on them, We got multiple Shared Hosting Servers & multiple Slave DNS Servers. Now it happened that one Customer was moved from Hosting Server A (own DNS Management - replicating to our Slave DNS Servers) to Plesk Server B ... Domain existing on both Servers now .... what happened ... when our Main DNS Server got restarted - it refused to start ... Error:

Feb 21 11:12:36 ns1.futureweb.at named[28559]: 01db...c64.nzf:3: zone 'dom.tld' already exists Feb 21 11:12:36 ns1.futureweb.at named[28559]: loading configuration: already exists Feb 21 11:12:36 ns1.futureweb.at named[28559]: exiting (due to fatal error)

Maybe a check if the Zone to be transferred is already active on the Slave it get's transferred to?

thx, bye Andreas Schnederle-Wagner

ayamshanov commented 5 years ago

Hi futureweb,

Thank you for your report. I have created a report with this issue; the id is EXTPLESK-749.