The Retrieve Domain Information 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).
[{"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/8474/retrieve+domain+information+api/14840/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, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key 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.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
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. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
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.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
1,710ms
Service Level:
100%
Response Time:
2,702ms
Service Level:
100%
Response Time:
1,318ms
Service Level:
100%
Response Time:
307ms
Service Level:
100%
Response Time:
424ms
Service Level:
100%
Response Time:
104ms
Service Level:
100%
Response Time:
1,346ms
Service Level:
100%
Response Time:
19ms
Service Level:
100%
Response Time:
1,189ms
Service Level:
100%
Response Time:
369ms