The GET /v1/dns/{domain_name}/records endpoint can only return DNS records for domains that are currently using 101domain Name Servers.
This endpoint reads from the DNS zone that 101domain controls. If your domain is delegated to external nameservers (for example, AWS Route 53 or Cloudflare direct), 101domain does not have access to that provider’s zone file.
If you are using external name servers, the the 101domain API cannot retrieve the records and you may receive an empty result set or an error.
To resolve this
You will need to verify which nameservers your domain is using. You review your name servers in your my.101domain.com account and Managing Name Server Records. The API will only return records when the domain is using either:
-
101domain nameservers, or
-
Secure Web Accelerator (powered by Cloudflare) nameservers managed through 101domain.
If you want to manage DNS through this endpoint, update the domain’s delegation to the appropriate 101domain nameservers (or enable Secure Web Accelerator) so that the DNS zone is hosted within 101domain’s platform.
For more information, visit our dedicated Managing Name Server Records articles or follow our steps on Changing to 101domain Name Servers.