The Domain Data Retrieval API provides comprehensive information about the various DNS records associated with a domain. This tool allows you to obtain A and AAAA records, which are essential for determining the IPv4 and IPv6 addresses to which a domain points. It also provides MX (Mail Exchange) records, which indicate the mail servers responsible for managing emails for that domain. In this case, a value of “.” as provided may indicate that the domain does not have mail service enabled or is configured to reject mail.
In addition, the API includes NS (Name Server) records, which specify the name servers authorized for the domain, providing redundancy and resilience to the name resolution system. The SOA (Start of Authority) record is also present and is key to DNS zone operations, as it contains information such as the name of the primary server, the administrator's email, the zone serial number, as well as control parameters such as refresh time, retry time, expiration time, and TTL (time to live).
To use this endpoint, you must specify a domain in the parameter.
DNS Check - Endpoint Features
| Object | Description |
|---|---|
domain |
[Required] Indicates a domain |
[{"record_type": "A", "value": "142.250.217.110"}, {"record_type": "AAAA", "value": "2607:f8b0:400a:808::200e"}, {"record_type": "MX", "priority": 10, "value": "smtp.google.com."}, {"record_type": "NS", "value": "ns3.google.com."}, {"record_type": "NS", "value": "ns1.google.com."}, {"record_type": "NS", "value": "ns2.google.com."}, {"record_type": "NS", "value": "ns4.google.com."}, {"record_type": "SOA", "mname": "ns1.google.com.", "rname": "dns-admin.google.com.", "serial": 779718432, "refresh": 900, "retry": 900, "expire": 1800, "ttl": 60}, {"record_type": "TXT", "value": "v=spf1 include:_spf.google.com ~all"}, {"record_type": "TXT", "value": "MS=E4A68B9AB2BB9670BCE15412F62916164C0B20BB"}, {"record_type": "TXT", "value": "google-site-verification=wD8N7i1JTNTkezJ49swvWW48f8_9xveREV4oB-0Hf5o"}, {"record_type": "TXT", "value": "docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e"}, {"record_type": "TXT", "value": "onetrust-domain-verification=de01ed21f2fa4d8781cbc3ffb89cf4ef"}, {"record_type": "TXT", "value": "apple-domain-verification=30afIBcvSuDV2PLX"}, {"record_type": "TXT", "value": "google-site-verification=TV9-DBe4R80X4v0M4U_bd_J9cpOJM0nikft0jAgjmsQ"}, {"record_type": "TXT", "value": "docusign=1b0a6754-49b1-4db5-8540-d2c12664b289"}, {"record_type": "TXT", "value": "google-site-verification=4ibFUgB-wXLQ_S7vsXVomSTVamuOXBiVAzpR5IZ87D0"}, {"record_type": "TXT", "value": "globalsign-smime-dv=CDYX+XFHUw2wml6/Gb8+59BsH31KzUr6c1l2BPvqKX8="}, {"record_type": "TXT", "value": "facebook-domain-verification=22rm551cu4k0ab0bxsw536tlds4h95"}, {"record_type": "TXT", "value": "cisco-ci-domain-verification=47c38bc8c4b74b7233e9053220c1bbe76bcc1cd33c7acf7acd36cd6a5332004b"}, {"record_type": "CAA", "flags": 0, "tag": "issue", "value": "pki.goog"}]
curl --location --request GET 'https://zylalabs.com/api/8472/domain+data+retrieval+api/14837/dns+check?domain=google.com' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The API returns detailed DNS records for a specified domain, including A, AAAA, MX, NS, SOA, and TXT records. This data is essential for analyzing domain configurations and verifying DNS settings.
Key fields in the response include record type (e.g., A, MX), record value (e.g., IP address, mail server), TTL (time to live), and additional metadata like the primary server name and administrator's email for SOA records.
The response data is structured in a JSON format, with each record type represented as an object containing relevant fields. This allows for easy parsing and access to specific DNS information.
The API provides information on various DNS records, including IP addresses (A and AAAA), mail servers (MX), name servers (NS), and administrative details (SOA), enabling comprehensive domain analysis.
Users can customize their requests by specifying the domain name in the API call. Additional parameters may be included in future updates to filter or sort the returned data.
Typical use cases include troubleshooting DNS issues, verifying domain configurations, analyzing email routing, and ensuring proper domain setup for web services.
Data accuracy is maintained through regular updates from authoritative DNS servers and validation checks to ensure that the returned records reflect the current state of the domain's DNS configuration.
If the API returns partial or empty results, users should verify the domain name for accuracy or check if the domain has specific records configured. Empty MX records may indicate no mail service is enabled.
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Service Level:
100%
Response Time:
1,882ms
Service Level:
100%
Response Time:
550ms
Service Level:
100%
Response Time:
98ms
Service Level:
100%
Response Time:
286ms
Service Level:
100%
Response Time:
11,971ms
Service Level:
100%
Response Time:
1,094ms
Service Level:
100%
Response Time:
118ms
Service Level:
100%
Response Time:
307ms
Service Level:
100%
Response Time:
1,189ms
Service Level:
100%
Response Time:
242ms
Service Level:
100%
Response Time:
19,536ms
Service Level:
100%
Response Time:
19,536ms
Service Level:
100%
Response Time:
19,536ms
Service Level:
100%
Response Time:
2,173ms
Service Level:
100%
Response Time:
2,073ms
Service Level:
100%
Response Time:
469ms
Service Level:
100%
Response Time:
19,536ms
Service Level:
100%
Response Time:
712ms
Service Level:
100%
Response Time:
3,739ms
Service Level:
100%
Response Time:
144ms