Skip to content

Google DNS API: Get DNS records

Looks up DNS records for a domain or pasted website link and summarizes its SPF record, DMARC policy and mail servers. A missing record type yields an empty records list.

dns.google (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by Google DNS.

Inputs

Values from the run on Oct 23, 2026, shown under Output.

Domain, requireddomain

Domain name or pasted website link, for example example.com or https://example.com/about.

example.com

Record Type optionalrecord_type

Which DNS records to return, for example MX. Defaults to all.

all (default)

One of all, A, AAAA, MX, TXT, NS, CNAME, SOA, CAA.

Output

From a run on Oct 23, 2026, shortened for this page.
{  "records": [    {      "name": "example.com",      "value": "172.66.147.243",      "priority": null,      "page_link": "https://dns.google/resolve?name=example.com&type=A",      "record_type": "A",      "time_to_live_seconds": 300    },    {      "name": "example.com",      "value": "104.20.23.154",      "priority": null,      "page_link": "https://dns.google/resolve?name=example.com&type=A",      "record_type": "A",      "time_to_live_seconds": 300    },    {      "name": "example.com",      "value": "2606:4700:10::6814:179a",      "priority": null,      "page_link": "https://dns.google/resolve?name=example.com&type=AAAA",      "record_type": "AAAA",      "time_to_live_seconds": 300    }  ],  "email_setup": {    "spf_record": "v=spf1 -all",    "dmarc_policy": "reject",    "has_mail_servers": false  }}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
dns.google/get_dns_records
Returns
DNS records (type, name, value, TTL, MX priority, lookup link) and email setup (SPF, DMARC policy, mail servers)

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method dns.google/get_dns_records with the inputs above.

Ask your agent

  • Can you pull the MX records for mycompany.io so I can see which mail servers handle its email?
  • What's the SPF and DMARC setup for brightlabs.org? I want to know if their email is locked down.
  • Look up all DNS records for https://shop.example-store.net/checkout and summarize them.
  • I need the TXT records for newsroom-daily.com to check for domain verification entries.
  • Which nameservers are authoritative for 203-cloud.dev? Also show the TTL values if you can.

See more

  • Gets a website's worldwide popularity bucket, exact rank when shown, categories, and recent weekly rank history from Cloudflare Radar. Historical rank points are available only for top-100 domains; other ranked domains have an empty history.

    radar.cloudflare.com/get_domain_rank
  • Finds certificates issued for a domain and its subdomains on crt.sh, with the DNS names each certificate covers. Expired certificates are excluded unless requested.

    crt.sh/search_certificates
  • Checks a website's HTTPS setup with SSL Labs: overall grade, per-server grades, certificate issuer and expiry, supported protocols and known weaknesses. Reuses cached reports from the last 72 hours unless a fresh test is requested.

    ssllabs.com/check_ssl_certificate
  • Gets the technologies shown in a website's free BuiltWith profile, grouped in the order BuiltWith displays them. A company name is matched to its official website through a public web search.

    builtwith.com/get_website_technologies
  • Looks up a public Google Maps place by name and location and returns its profile: address, rating, hours, phone, website and photos.

    google.com/get_place
  • Finds a verified advertiser in the Google Ads Transparency Center by company name or website domain and returns its Google ads with dates, regions, previews and ad pages. Counts may be approximate; regions and media previews are read for the first 40 ads.

    adstransparency.google.com/get_company_ads
  • Finds a place on Google Maps by name and location and returns its public reviews in the chosen order.

    google.com/get_place_reviews
  • Lists major stock market indexes on Google Finance with their current levels, changes and quote times. Quotes may be delayed, and indexes Google does not show are left out.

    google.com/list_market_indexes