Google Public DNS
DNS records, MX records and email DNS settings
Public DNS lookups and DNS-over-HTTPS from Google.
Your information
Domain name or pasted website link, for example example.com or https://example.com/about.
Which DNS records to return, for example MX. Defaults to all.
Example results
- Records
Records Name Value Priority Page Link Record Type Time to Live (seconds) google.comsmtp.google.com.10MX30- Email Setup
- Spf Record
- v=spf1 include:_spf.google.com ~all
- Dmarc Policy
- reject
- Has Mail Servers
- Yes
About Google Public DNS
Google Public DNS, also called Google DNS, returns DNS records for a domain, including record names, values, types, priorities, and cache times.
Get dns records accepts a domain or website link and an optional record type; it also summarizes SPF, DMARC policy, and mail server setup.
Built by Fous from dns.google and checked automatically; it last passed a check on Sep 29, 2026. Fous is not affiliated with Google Public DNS.
Actions
Get dns records
1 credit per runGet DNS records for a domain and summarize its SPF, DMARC policy, and mail servers. Returns the requested record type or all supported types; a missing record type yields an empty records list.
What you provide
| Field | Type | Required | Description |
|---|---|---|---|
Domaindomain | Text | Required | Domain name or pasted website link, for example example.com or https://example.com/about.Example: google.com |
Record Typerecord_type | Text | Optional | Which DNS records to return, for example MX. Defaults to all.Example: MX |
What you get
| Field | Type | Description |
|---|---|---|
Recordsrecords | List | DNS records matching the chosen record type. |
Namerecords[].name | Text | Name owning the record.Example: google.com |
Valuerecords[].value | Text | DNS record value.Example: smtp.google.com. |
Priorityrecords[].priority | Number | MX priority; null for other record types.Example: 10 |
Page Linkrecords[].page_link | Text | Public DNS lookup for this record name and type.Example: https://dns.google/resolve?name=google.com&type=MX |
Record Typerecords[].record_type | Text | DNS record type.Example: MX |
Time to Live (seconds)records[].time_to_live_seconds | Number | Time this answer may be cached, in seconds.Example: 30 |
Email Setupemail_setup | Details | |
Spf Recordemail_setup.spf_record | Text | SPF record text, or null if missing.Example: v=spf1 include:_spf.google.com ~all |
Dmarc Policyemail_setup.dmarc_policy | Text | DMARC policy in words or missing.Example: Reject |
Has Mail Serversemail_setup.has_mail_servers | Yes or no | Whether usable MX mail servers are configured.Example: Yes |
Example result
For Domain: google.com, Record Type: MX
{
"records": [
{
"name": "google.com",
"value": "smtp.google.com.",
"priority": 10,
"page_link": "https://dns.google/resolve?name=google.com&type=MX",
"record_type": "MX",
"time_to_live_seconds": 30
}
],
"email_setup": {
"spf_record": "v=spf1 include:_spf.google.com ~all",
"dmarc_policy": "reject",
"has_mail_servers": true
}
}For developers
Run this workflow from your own code. In Studio, turn on Developer mode and create an API key.
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
: "${FOUS_API_KEY:?Set FOUS_API_KEY before running this example}"
curl 'https://api.fous.com/v1/query' \
--fail-with-body --silent --show-error --max-time 120 \
-H "Authorization: Bearer $FOUS_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"api": "@google-public-dns",
"visibility": "public",
"operation": "get_dns_records",
"version": 1,
"input": {
"domain": "google.com",
"record_type": "MX"
},
"response": {
"format": "json"
}
}'What you can do with it
- Check which mail servers a domain uses
- Review a domain’s SPF and DMARC settings
- Inspect DNS record values and cache times
- Find records of a specific type for a domain
Questions
Is Fous affiliated with Google Public DNS?
No. Fous is not affiliated with Google Public DNS. This workflow reads the public dns.google website and returns its data.
How much does it cost?
Each run costs 1 credit. With pay-as-you-go, a credit costs 1¢; monthly plans cost less per credit.
Do I need a Google Public DNS account?
No. You only need a Fous account.
How current is the data?
Fous gets the data from dns.google when you run it; repeating the same request within a day may return the saved result. Fous checks this workflow automatically; it last passed a check on Sep 29, 2026.
Which mail servers are configured for a domain?
Use Get dns records to retrieve MX records and check whether usable mail servers are configured.
What SPF and DMARC settings does a domain have?
Get dns records summarizes the SPF record text and DMARC policy, noting when either is missing.
What DNS records does a domain have?
Use Get dns records with a domain; choose a record type or leave it unspecified to request all supported types.