Unable to get a list of only Purchased domain through Dreamhost API key

  • I have 6 domain purchased from Dream Host and 4 domain purchased from Name.com.
  • All 10 domain are hosted in this same account with Dream Host Shared hosting plan.
  • Now, I want to get the list of only purchased domain(only 6 domains) from my account through an API call

I have tried this below process:

https://api.dreamhost.com/?key=1A2B3C4D5E6F7G8H&cmd=dns-list_records

But it gives the list of all domain i.e. Purchased Domain + Hosted Domains

I don’t think you can filter DH/non-DH domains from the DNS records list. You could filter the list further by performing Name-Server (NS) lookups on each domain to determine which are using DH’s name-servers.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.