The DNS Fetcher API provides comprehensive DNS information for any domain, allowing users to access a detailed view of how a domain is configured at the network level. This includes IPv4 addresses (A records), IPv6 addresses (AAAA records), mail server configuration (MX records), name servers (NS records), and all associated text records (TXT), which are often used for domain verification, email validation, and third-party integrations.
When a domain is queried, the API returns a structured response that includes all relevant DNS data. A records provide the primary IP addresses to which the domain resolves, which are essential for routing and connectivity. AAAA records offer IPv6 address support, providing insight into the compatibility of modern networks. MX records reveal the domain's email routing configuration, including Exchange servers and their priorities. NS records show the authoritative name servers that manage DNS resolution, while TXT records often contain important metadata for security frameworks such as SPF, DKIM, DMARC, site ownership verification (for platforms such as Google, Facebook, Microsoft), and third-party services such as Cisco, Apple, or DocuSign.
Designed for speed, clarity, and comprehensiveness, the DNS Fetcher API is a key tool for anyone working with domain infrastructure or web-based security protocols, providing a complete snapshot of the DNS in a single, simple call.
To use this endpoint, you must specify a domain in the parameter.
DNS Checker - Endpoint Features
| Object | Description |
|---|---|
domain |
[Required] Indicates a domain |
{"domain":"google.com","records":{"A":["209.85.202.138","209.85.202.139","209.85.202.100","209.85.202.102","209.85.202.101","209.85.202.113"],"AAAA":["2a00:1450:400b:c03::8b","2a00:1450:400b:c03::71","2a00:1450:400b:c03::64","2a00:1450:400b:c03::8a"],"MX":[{"exchange":"smtp.google.com","priority":10}],"NS":["ns4.google.com","ns3.google.com","ns2.google.com","ns1.google.com"],"TXT":["cisco-ci-domain-verification=47c38bc8c4b74b7233e9053220c1bbe76bcc1cd33c7acf7acd36cd6a5332004b","facebook-domain-verification=22rm551cu4k0ab0bxsw536tlds4h95","google-site-verification=TV9-DBe4R80X4v0M4U_bd_J9cpOJM0nikft0jAgjmsQ","MS=E4A68B9AB2BB9670BCE15412F62916164C0B20BB","google-site-verification=wD8N7i1JTNTkezJ49swvWW48f8_9xveREV4oB-0Hf5o","google-site-verification=4ibFUgB-wXLQ_S7vsXVomSTVamuOXBiVAzpR5IZ87D0","apple-domain-verification=30afIBcvSuDV2PLX","docusign=1b0a6754-49b1-4db5-8540-d2c12664b289","v=spf1 include:_spf.google.com ~all","docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e","globalsign-smime-dv=CDYX+XFHUw2wml6/Gb8+59BsH31KzUr6c1l2BPvqKX8=","onetrust-domain-verification=de01ed21f2fa4d8781cbc3ffb89cf4ef"]},"timestamp":"2025-07-14T21:37:51.235Z"}
curl --location --request GET 'https://zylalabs.com/api/8564/dns+fetcher+api/15013/dns+checker?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 comprehensive DNS records for a specified domain, including A, AAAA, MX, NS, and TXT records. Each record type provides specific information, such as IP addresses, mail server configurations, authoritative name servers, and text records used for domain verification and security protocols.
The response data includes key fields such as "A" for IPv4 addresses, "AAAA" for IPv6 addresses, "MX" for mail server details, "NS" for name servers, and "TXT" for text records. Each field contains relevant metadata, including timestamps and verification information.
The response data is structured in a JSON format, with each record type represented as an array of objects. Each object contains fields specific to that record type, allowing users to easily parse and access the information they need.
The API provides detailed information on DNS configurations, including IP addresses (A and AAAA records), email routing (MX records), authoritative name servers (NS records), and verification-related text records (TXT). This data is essential for managing domain infrastructure and security.
Users can customize their requests by specifying the domain name as a parameter in the GET DNS Checker endpoint. This allows for targeted queries to retrieve DNS records for specific domains, ensuring relevant data is returned.
The data is sourced from authoritative DNS servers and registries, ensuring high accuracy and reliability. The API continuously updates its data to reflect changes in DNS configurations, maintaining the integrity of the information provided.
Typical use cases include troubleshooting DNS issues, verifying domain ownership, configuring email servers, and implementing security protocols like SPF, DKIM, and DMARC. The API is valuable for web developers, system administrators, and security professionals.
Users can analyze the returned data to assess domain configurations, troubleshoot connectivity issues, and ensure proper email routing. By understanding the structure and content of the response, users can integrate this information into their applications or security frameworks.
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:
295ms
Service Level:
100%
Response Time:
100ms
Service Level:
100%
Response Time:
816ms
Service Level:
100%
Response Time:
825ms
Service Level:
100%
Response Time:
706ms
Service Level:
100%
Response Time:
29ms
Service Level:
100%
Response Time:
341ms
Service Level:
100%
Response Time:
10,167ms
Service Level:
100%
Response Time:
38ms
Service Level:
100%
Response Time:
769ms
Service Level:
100%
Response Time:
359ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
878ms
Service Level:
100%
Response Time:
25ms
Service Level:
100%
Response Time:
2,370ms
Service Level:
100%
Response Time:
22ms
Service Level:
100%
Response Time:
1,451ms
Service Level:
100%
Response Time:
2,433ms
Service Level:
100%
Response Time:
13ms
Service Level:
100%
Response Time:
327ms