Skip to main content
GET
/
domains
/
{domain}
/
dns-records
DNS Records
curl --request GET \
  --url https://domains-api.com/domains/{domain}/dns-records \
  --header 'Authorization: Bearer <token>'

Documentation Index

Fetch the complete documentation index at: https://docs.domo.domains/llms.txt

Use this file to discover all available pages before exploring further.

List all DNS Records (subdomains, A, MX, CNAME, TXT, etc) for a domain. Subdomains are auto-disovered, and hints for more obscure ones can be sent to the API to check for.

Path Parameters

domain
string
required
Domain name for which history is needed

Header Parameters

Accept
string
default:"text/plain"
  • text/plain return DNS records as text lines
  • application/json return DNS records as JSON object

Query Parameters

type
string
Which records to return: A, AAAA, MX, etc. Leave empty to return all
subdomain
string
Extra subdomain to check for