{"api":{"id":"api_1083a63bca94d5b8fb31f135","slug":"dns-records","name":"DNS Records & Email Security API","description":"DNS records for a list of domains (A, AAAA, MX, TXT, NS, CNAME, CAA, SOA) with TTL, the SPF and DMARC policies parsed into columns, the mail provider behind each MX host, site-verification tags and whether DNSSEC validated.","kind":"ready_made","visibility":"public","domain":"dns.google","source_url":"https://dns.google/resolve","category":"developer","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":10,"created_at":"2026-12-06T03:57:27.636Z","updated_at":"2026-12-06T03:57:27.636Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"domain","type":"string","description":"The domain you asked for.","required":true,"coverage":1,"example":"github.com"},{"name":"record_type","type":"string","description":"Record type: A, AAAA, MX, TXT, NS, CNAME, CAA or SOA.","required":false,"coverage":1,"example":"MX"},{"name":"name","type":"string","description":"The name the record sits on (the domain, or _dmarc.domain for DMARC).","required":false,"coverage":1,"example":"github.com"},{"name":"value","type":"string","description":"The record's content. MX records start with their priority; long TXT strings are joined.","required":false,"coverage":1,"example":"0 github-com.mail.protection.outlook.com"},{"name":"ttl","type":"integer","description":"Seconds the answer may still be cached.","required":false,"coverage":1,"example":164},{"name":"spf","type":"string","description":"How an SPF policy ends: -all, ~all, ?all, +all or redirect=host. Empty on other records.","required":false,"coverage":0.2,"example":"~all"},{"name":"dmarc_policy","type":"string","description":"The DMARC policy (none, quarantine or reject) on a DMARC record.","required":false,"coverage":0.2,"example":"quarantine"},{"name":"mx_provider","type":"string","description":"Mail provider recognised from an MX host, such as Google Workspace or Microsoft 365.","required":false,"coverage":0.2,"example":"Microsoft 365"},{"name":"verification_tokens","type":"array","description":"Kinds of site-verification record found in a TXT value, such as google-site-verification.","required":false,"coverage":0.4,"example":["facebook-domain-verification"]},{"name":"dnssec_validated","type":"boolean","description":"True when the answer was validated with DNSSEC.","required":false,"coverage":1,"example":false}],"inputs":[{"name":"domains","type":"array","description":"Domain names to look up, such as stripe.com. A link is reduced to its domain name. Up to 500 per run.","example":["stripe.com"],"required":true},{"name":"record_types","type":"array","description":"Record types to look up: A, AAAA, MX, TXT, NS, CNAME, CAA or SOA. Defaults to A, MX, TXT and NS.","example":["MX","TXT","NS"]},{"name":"parse_email_auth","type":"boolean","description":"Read SPF and DMARC policies out of TXT records into their own fields (on by default).","default":true,"example":true}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"dmarc_policy":{"description":"The DMARC policy (none, quarantine or reject) on a DMARC record.","type":"string"},"dnssec_validated":{"description":"True when the answer was validated with DNSSEC.","type":"boolean"},"domain":{"description":"The domain you asked for.","type":"string"},"mx_provider":{"description":"Mail provider recognised from an MX host, such as Google Workspace or Microsoft 365.","type":"string"},"name":{"description":"The name the record sits on (the domain, or _dmarc.domain for DMARC).","type":"string"},"record_type":{"description":"Record type: A, AAAA, MX, TXT, NS, CNAME, CAA or SOA.","type":"string"},"spf":{"description":"How an SPF policy ends: -all, ~all, ?all, +all or redirect=host. Empty on other records.","type":"string"},"ttl":{"description":"Seconds the answer may still be cached.","type":"integer"},"value":{"description":"The record's content. MX records start with their priority; long TXT strings are joined.","type":"string"},"verification_tokens":{"description":"Kinds of site-verification record found in a TXT value, such as google-site-verification.","type":"array"}},"required":["domain"],"title":"DNS Records & Email Security API","type":"object"},"samples":[{"domain":"github.com","record_type":"MX","name":"github.com","value":"0 github-com.mail.protection.outlook.com","ttl":164,"spf":null,"dmarc_policy":null,"mx_provider":"Microsoft 365","verification_tokens":[],"dnssec_validated":false},{"domain":"github.com","record_type":"TXT","name":"_dmarc.github.com","value":"v=DMARC1; p=quarantine; sp=reject; pct=100; rua=mailto:d•••@github.com; ruf=mailto:d•••@github.com; fo=1","ttl":164,"spf":null,"dmarc_policy":"quarantine","mx_provider":null,"verification_tokens":[],"dnssec_validated":false},{"domain":"github.com","record_type":"TXT","name":"github.com","value":"v=spf1 ip4:192.30.252.0/22 ip4:172.170.10.240/28 ip4:40.78.162.192/28 ip4:172.170.3.48/28 include:spf.protection.outlook.com include:_netblocks.google.com include:_netblocks2.google.com include:mail.zendesk.com include:_spf.salesforce.com include:servers.mcsv.net…","ttl":76,"spf":"~all","dmarc_policy":null,"mx_provider":null,"verification_tokens":[],"dnssec_validated":false}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"dmarc_policy":0.33,"dnssec_validated":1,"domain":1,"mx_provider":0.33,"name":1,"record_type":1,"spf":0.33,"ttl":1,"value":1,"verification_tokens":0},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_1083a63bca94d5b8fb31f135/run","openapi":"https://pullrow.dev/v1/apis/api_1083a63bca94d5b8fb31f135/openapi.json","contract":"https://pullrow.dev/v1/apis/api_1083a63bca94d5b8fb31f135/contract.json","page":"https://pullrow.dev/catalog/dns-records"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["One run returns at most 5,000 records and looks up at most 500 domains; every domain and record type is one lookup, so a large run takes a few minutes.","Answers come from Google Public DNS, a recursive resolver, so you see what the internet resolves now, including its caching: the TTL is the remaining cache time and can be lower than the zone's own TTL.","spf and dmarc_policy are filled only on TXT records that hold an SPF or DMARC policy, and only when parse_email_auth is on. DMARC is read from the _dmarc name of each domain and returned as its own TXT record, just ahead of the domain's other TXT records.","spf holds the closing qualifier of the policy (-all, ~all, ?all, +all) or the redirect target; it does not follow include chains. mx_provider is a best guess from the mail host name and is empty for self-hosted or unrecognised hosts.","verification_tokens lists the kind of verification record found (for example google-site-verification), not a verdict on the domain's ownership. Verification values stay in the value field.","dnssec_validated is true when Google validated the answer with DNSSEC; false means unsigned or not validated. Other record types, such as DKIM selectors, are not looked up.","Names that do not exist or have no record of a type simply return no rows. Google asks for fair use of its public DNS service, so lookups run at a gentle pace. Not affiliated with or endorsed by Google."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"domain","label":"Domain","description":"The domain you asked for.","group":"Basics","shown":true,"written":false},{"name":"record_type","label":"Record type","description":"Record type: A, AAAA, MX, TXT, NS, CNAME, CAA or SOA.","group":"Basics","shown":true,"written":false},{"name":"name","label":"Name","description":"The name the record sits on (the domain, or _dmarc.domain for DMARC).","group":"Basics","shown":true,"written":false},{"name":"value","label":"Value","description":"The record's content. MX records start with their priority; long TXT strings are joined.","group":"Basics","shown":true,"written":false},{"name":"ttl","label":"Ttl","description":"Seconds the answer may still be cached.","group":"Basics","shown":true,"written":false},{"name":"spf","label":"Spf","description":"How an SPF policy ends: -all, ~all, ?all, +all or redirect=host. Empty on other records.","group":"Basics","shown":true,"written":false},{"name":"dmarc_policy","label":"Dmarc policy","description":"The DMARC policy (none, quarantine or reject) on a DMARC record.","group":"Basics","shown":true,"written":false},{"name":"mx_provider","label":"Mx provider","description":"Mail provider recognised from an MX host, such as Google Workspace or Microsoft 365.","group":"Basics","shown":true,"written":false},{"name":"verification_tokens","label":"Verification tokens","description":"Kinds of site-verification record found in a TXT value, such as google-site-verification.","group":"Basics","shown":true,"written":false},{"name":"dnssec_validated","label":"Dnssec validated","description":"Yes when the answer was validated with DNSSEC.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"domains","label":"Domains","help":"Domain names to look up, such as stripe.com. A link is reduced to its domain name. Up to 500 per run.","example":"stripe.com","written":false},{"name":"record_types","label":"Record types","help":"Record types to look up: A, AAAA, MX, TXT, NS, CNAME, CAA or SOA. Defaults to A, MX, TXT and NS.","example":"MX, TXT, NS","written":false},{"name":"parse_email_auth","label":"Parse email auth","help":"Read SPF and DMARC policies out of TXT records into their own fields (on by default).","example":"true","written":false}]}},"incidents":[]}