The DNS Validation API is an advanced tool that allows you to query DNS records in real time for any domain and record type. Ideal for developers, network administrators and cybersecurity professionals, this API provides fast, accurate and comprehensive results about a domain's DNS status and configuration.
With just one request, you can get detailed information about a wide variety of DNS records, including:
A, AAAA, CNAME, NS, SOA, MX, SRV, TXT, CAA, NAPTR, PTR, HINFO and A6. This comprehensive coverage allows you to validate mail configurations, verify DNS propagation, ensure security policies such as CAA, and much more.
To use this endpoint you must indicate a domain and a record type in the parameters.
Record types:
DNS Check - Endpoint Features
| Object | Description |
|---|---|
domain |
[Required] Indicates a domain |
record_type |
[Required] Indicates a record type |
[{"host":"youtube.com","class":"IN","ttl":216,"type":"A","ip":"216.58.206.46"}]
curl --location --request GET 'https://zylalabs.com/api/6515/dns+validation+api/9431/dns+check?domain=youtube.com&record_type=A' --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 DNS Validation API returns detailed information about DNS records for a specified domain and record type. This includes data for record types such as A, AAAA, CNAME, MX, and more, providing insights into the domain's DNS configuration and status.
The response data typically includes fields such as record type, domain name, TTL (Time to Live), and the actual record value. These fields help users understand the DNS configuration and its implications for domain functionality.
The response data is structured in a JSON format, with each record type represented as an object containing relevant fields. This organization allows for easy parsing and integration into applications or systems.
The DNS Check endpoint requires two parameters: the domain name and the record type. Users can specify any of the supported record types, such as A, MX, or TXT, to customize their queries.
Typical use cases include validating mail server configurations, checking DNS propagation after updates, and ensuring compliance with security policies like CAA records. Network administrators and cybersecurity professionals frequently utilize this data for troubleshooting and monitoring.
Data accuracy is maintained through continuous updates from authoritative DNS servers worldwide. The API aggregates this information to ensure users receive the most current and reliable DNS records for their queries.
Users can utilize the returned data by analyzing the DNS records to troubleshoot issues, verify configurations, or monitor changes. For example, checking MX records can help ensure email delivery is correctly set up for a domain.
If users encounter partial or empty results, they should verify the domain name and record type for accuracy. Additionally, they may want to check if the DNS records are properly configured or if there are propagation delays affecting visibility.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
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:
239ms
Service Level:
100%
Response Time:
1,078ms
Service Level:
100%
Response Time:
278ms
Service Level:
100%
Response Time:
814ms
Service Level:
100%
Response Time:
782ms
Service Level:
100%
Response Time:
863ms
Service Level:
100%
Response Time:
1,245ms
Service Level:
100%
Response Time:
1,882ms
Service Level:
100%
Response Time:
1,029ms
Service Level:
100%
Response Time:
396ms
Service Level:
82%
Response Time:
2,073ms
Service Level:
100%
Response Time:
1,461ms
Service Level:
100%
Response Time:
351ms
Service Level:
100%
Response Time:
998ms
Service Level:
100%
Response Time:
3,091ms
Service Level:
100%
Response Time:
1,388ms
Service Level:
100%
Response Time:
847ms
Service Level:
100%
Response Time:
8,724ms
Service Level:
100%
Response Time:
667ms
Service Level:
100%
Response Time:
320ms