In response to demand from our reseller hosting customers, we’ve added DNS functionality to the API. This allows you to find out exactly what DNS records we’ll serve for a domain name, and allows you to make arbitrary changes to them. We hope that this will make it easy for you to automatically set up custom DNS (e.g. set up SRV records for third-party services, or SPF records for email), and this will allow you to create your own DNS management interface if you want to.
Not currently using our API?
All our reseller hosting customers have free access to our API, and you can find out more information here (including your log-in details): https://customer.heartinternet.uk/manage/api
How to use this new functionality
Using this functionality is really easy. Once you’ve loaded the ext-dns object, you can issue an extended domain info request:
<?xml version=”1.0″?>
xmlns:ext-dns=”https://www.heartinternet.uk/whapi/ext-dns-1.0″/> The response will then return, in addition to the usual information, every DNS record we have stored for the domain: <?xml version=’1.0′?> … xmlns:ext-dns=”https://www.heartinternet.uk/whapi/ext-dns-1.0″> node=”groupware”> groupware.some-offsite-provider.example.org. weight=”5″> mail:25 weight=”5″> groupware:143 If you want to add or delete records, you just send something very similar to the above (in blocks) as part of a domain update command: <?xml version=”1.0″?> xmlns:ext-dns=”https://www.heartinternet.uk/whapi/ext-dns-1.0″> weight=”5″> mail.somewhere-else.example.org.:25 weight=”70″> backupmx1.somewhere-else.example.org.:25 weight=”30″> backupmx2.somewhere-else.example.org.:25 weight=”5″> mail:25 Updates will be performed exactly as if you’d been updating the DNS records from the domain control panel.

is this available on the hostpay system aswel?
Darren,
HostPay already gives your customers passwordless access to the domain control panel for their domain names (which will include DNS management functionality if you have it enabled).
Cheers
Matt
Sorry if this is the wrong place to post this…but… Is anyone using Drupal or developing a drupal module to access the API?
Or…would anyone like to collaberate and develop one?
Regards
Steve
Would be nice to be able to add standard mail boxes via the api. ifor