Removing XDNS entries for zones being deleted but were added using adddns
Hi folks,
I'm working with the API to back up and remove subdomains where the DNS has been delegated elsewhere, and I've noticed something in the documentation which my spider senses are telling me could become a problem further down the line.
Under the entry for killdns there are warnings about XDNS entries being added for zones added using adddns, and it just so happens that I'm using adddns extensively in my script. According to the documentation these XDNS entries have to be removed manually. Any suggestions on how I might go about doing this?
Thanks in advance :)
Cheers,
RS
-
I missed out a word. How might I go about doing this programmatically?
0 -
I've been doing some testing and these entries appear to clean themselves up automatically.
0 -
It looks like things are working well - if you need me to test anything on my end just let me know!
0 -
You’re correct — when using adddns, it creates XDNS entries that aren’t automatically removed by killdns. The best way to handle this is to list the XDNS records for each zone and remove them manually via the API using the removexdns command after deleting the DNS zone.
This ensures no leftover XDNS entries remain after cleanup.
0
Please sign in to leave a comment.
Comments
4 comments