The Retrieve DNS Information Check API is an advanced tool designed to query and analyze the DNS configuration of any domain on the Internet in real time. Its main purpose is to provide comprehensive, structured information about the essential records that determine how a domain resolves and operates on the network. By simply sending the domain name as a parameter, the API returns detailed results that include A, AAAA, NS, MX, TXT, and CNAME records, among others.
For example, when querying the domain “google.com,” the API displays its name servers (ns1.google.com, ns2.google.com, etc.), associated IPv4 and IPv6 addresses, TXT records with security and authentication checks, as well as the MX records used for email management. This information is crucial for system administrators, web developers, cybersecurity experts, and hosting providers who need to verify correct DNS configuration or detect possible errors.
Among its main advantages are accuracy, response speed, and ease of integration into applications or control panels. The returned data is structured in JSON format, allowing it to be easily processed using programming languages such as Python, JavaScript, Go, or PHP. In addition, it can be used as part of automated monitoring systems to detect changes in DNS infrastructure or service outages.
The API is also useful for verifying email authentication configurations (such as SPF, DKIM, and DMARC) that are stored in TXT records, or for checking the existence of CNAME records and their correct propagation. In this way, it helps maintain the security, stability, and reputation of corporate domains.
In summary, the Retrieve DNS Information Check API is a practical, fast, and reliable solution that centralizes all the technical information of a domain's DNS records, facilitating both the diagnosis of problems and the validation of configurations essential for the operation of online services.
{"domain":"google.com","nameServers":["ns3.google.com","ns4.google.com","ns1.google.com","ns2.google.com"],"aRecords":["142.251.36.78"],"aaaaRecords":["2404:6800:4003:c00::8a","2404:6800:4003:c00::64","2404:6800:4003:c00::8b","2404:6800:4003:c00::65"],"cnameRecords":"Not Found","txtRecords":["google-site-verification=wD8N7i1JTNTkezJ49swvWW48f8_9xveREV4oB-0Hf5o","docusign=1b0a6754-49b1-4db5-8540-d2c12664b289","google-site-verification=4ibFUgB-wXLQ_S7vsXVomSTVamuOXBiVAzpR5IZ87D0","v=spf1 include:_spf.google.com ~all","google-site-verification=TV9-DBe4R80X4v0M4U_bd_J9cpOJM0nikft0jAgjmsQ","globalsign-smime-dv=CDYX+XFHUw2wml6\/Gb8+59BsH31KzUr6c1l2BPvqKX8=","MS=E4A68B9AB2BB9670BCE15412F62916164C0B20BB","apple-domain-verification=30afIBcvSuDV2PLX","cisco-ci-domain-verification=47c38bc8c4b74b7233e9053220c1bbe76bcc1cd33c7acf7acd36cd6a5332004b","onetrust-domain-verification=de01ed21f2fa4d8781cbc3ffb89cf4ef","docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e","facebook-domain-verification=22rm551cu4k0ab0bxsw536tlds4h95"],"mxRecords":["smtp.google.com"]}
curl --location --request GET 'https://zylalabs.com/api/11183/retrieve+dns+information+check+api/21157/dns+checker?url=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 comprehensive DNS information for a specified domain, including A, AAAA, MX, TXT, NS, and CNAME records. This data helps users diagnose DNS configurations and monitor domain health.
Key fields in the response include "domain" (the queried domain), "nameServers" (list of name servers), "aRecords" (IPv4 addresses), "aaaaRecords" (IPv6 addresses), "cnameRecords" (CNAME records), and "txtRecords" (TXT records for various configurations).
The response data is structured in JSON format, making it easy to parse and utilize in applications. Each record type is categorized under its respective field, allowing for straightforward access to specific DNS information.
The API provides detailed DNS records, including A, AAAA, MX, TXT, NS, and CNAME records. This information is essential for verifying domain configurations, email authentication, and monitoring DNS health.
Users can customize their requests by specifying the domain name as a parameter in the API call. This allows for targeted queries to retrieve DNS information for any domain of interest.
Typical use cases include diagnosing DNS issues, verifying email authentication configurations (like SPF and DKIM), monitoring domain health, and ensuring proper DNS propagation for new records.
Data accuracy is maintained through real-time querying of DNS records from authoritative sources. The API ensures that the information returned reflects the current state of the domain's DNS configuration.
Users can expect structured data with fields for each record type. For example, "aRecords" will contain a list of IPv4 addresses, while "txtRecords" may include multiple entries for various configurations, such as verification tokens and SPF records.
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.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
863ms
Service Level:
100%
Response Time:
1,882ms
Service Level:
100%
Response Time:
1,078ms
Service Level:
100%
Response Time:
266ms
Service Level:
100%
Response Time:
396ms
Service Level:
100%
Response Time:
561ms
Service Level:
100%
Response Time:
362ms
Service Level:
100%
Response Time:
814ms
Service Level:
100%
Response Time:
534ms
Service Level:
100%
Response Time:
784ms