plesk / ext-slave-dns-manager

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

Add NS records for Slaves to the DNS zone template #45

Open ivab-test opened 4 years ago

ivab-test commented 4 years ago

I configure slaves to serve zones from Plesk server. But nobody is asking slaves, because there are no NS records pointing to slave DNS servers.

  1. Admin must be asked by extension to automatically add slave DNS server NS records in served DNS zones and DNS zone template. There must be information that slave DNS servers must be added to the list of authoritative DNS servers on the registrar side.
  2. If IP address of slave DNS server has PTR record pointing on a hostname that resolves back to the same IP address, then this hostname must be used as value of NS record, otherwise use subdomains of the main domain, e.g. ns3.example.com, ns4.example.com, etc. In the latter case additional A records must be created in served DNS zones and DNS zone template on the Plesk side.
  3. In case some slave is removed, corresponding NS (and A if it was created) records also must be removed and admin must be notified that slave DNS server must be removed from list of authoritative DNS servers on the registrar side.