I am coding a DNS update routine under 11.25 and using the new XML-API DNS calls.
I am confused over the parameters zone and name and domain. Across the addzonerecord, removezonerecord and editzonerecord there appears to be some differences in use - or maybe I am reading it wrong?
For addzonerecord it states:
zone (string) — Name of the zone to be added, expressed like a domain name. Example: example.com
name (string) — The name of the zone record
so is the zone the domain name and the name the hostname ?
For removezonerecord it states:
zone (string) — The domain name whose zone record you wish to remove
so in this case the zone is the domain name ?
For editzonerecord it states:
domain (string) — The domain name whose zone record you wish to edit.
It doesnt mention zone as a variable except in the example inputs ? Should I specify zone and domain ?
name (string) — Domain name. Example: example.com
is this the hostname ?
Hope this question makes sense and I hope someone can clear my thick brain on this