Hello,
this request is refinement of the following threads:
More flexible DNS control
More Control Over Services
Currently, each domain on the DirectAdmin server can use that server for DNS hosting, that is, it's not possible to offer DNS hosting as a value-added service which could be enabled for qualified accounts only.
We've been experimenting with creating "DNS hosting" custom package item and using its value to automatically delete DNS zones where necessary. We've also created domain_create_post.sh, domain_destroy_post.sh and domain_change_post.sh scripts to maintain an accurate list of existing domains (DA currently uses named.conf file as the index to determine if a domain exists on the server or not).
Unfortunately, this didnt work quite well, since DA apparently checks DNS zone entries for number of tasks. For example, an attempt to add/delete a subdomain failed when there was no DNS zone. Also, it wasn't possible to tell DA to use external mailserver for such domain.
Thank you.
this request is refinement of the following threads:
More flexible DNS control
More Control Over Services
Currently, each domain on the DirectAdmin server can use that server for DNS hosting, that is, it's not possible to offer DNS hosting as a value-added service which could be enabled for qualified accounts only.
We've been experimenting with creating "DNS hosting" custom package item and using its value to automatically delete DNS zones where necessary. We've also created domain_create_post.sh, domain_destroy_post.sh and domain_change_post.sh scripts to maintain an accurate list of existing domains (DA currently uses named.conf file as the index to determine if a domain exists on the server or not).
Unfortunately, this didnt work quite well, since DA apparently checks DNS zone entries for number of tasks. For example, an attempt to add/delete a subdomain failed when there was no DNS zone. Also, it wasn't possible to tell DA to use external mailserver for such domain.
Thank you.