Bulk Update DNS

Is there a way to, in bulk, remove the allow-transfers and allow-notify directives from records so that the global options can be used?

Status: 
Active

Comments

Sorry, no .. there is no such facility in Virtualmin.

Is there any work around? I need to do this on like 800 domains so we can complete the transfer to the new DNS provider and I really don't want to manually have to do it.

PS. I completed the script we discussed in a previous ticket. I had to incorporate the creation scripts to add the domains and deleted the domains initially because we have over 30 servers involved and there was no way to tell on sync if a domain should be in the provider's account if it existed on another server.

You might have to write a perl or shell script to remove all those lines from your /etc/named.conf file.