What your Autodiscover check result means: the 5 verification states
Outlook evaluates its discovery paths in a documented order: Active Directory on domain-joined Windows first, then the root domain over HTTPS, the autodiscover hostname over HTTPS, an HTTP redirect, and last the SRV record. Thunderbird, K-9 Mail, Evolution, and other non-Microsoft clients use the autoconfig host and the RFC 6186 / RFC 8314 service records instead, and the MX provider is context that says whether Autodiscover is expected at all. The table below defines the five states this tool reports.
| Verification State | Observed DNS Configuration | Mail Client Behavior | Required Action |
|---|---|---|---|
| Valid Microsoft 365 / Exchange CNAME | autodiscover CNAME to autodiscover.outlook.com, DNS-only at the Content Delivery Network (CDN) | Outlook fetches its profile from Exchange Online on first run | None: keep the record DNS-only so Transport Layer Security (TLS) and the XML handshake are not intercepted. |
| Valid SRV fallback | _autodiscover._tcp with port 443 and the mail target | Outlook uses the SRV when the hostname lookup fails | Keep priority, weight, port, and target exact; the trailing dot on the target is correct. |
| Valid Thunderbird autoconfig or RFC 6186 SRV | autoconfig host, or _imaps._tcp and _submission._tcp SRV | Thunderbird, K-9 Mail, and Evolution configure Internet Message Access Protocol (IMAP) and Simple Mail Transfer Protocol (SMTP) automatically | Publish both paths so non-Microsoft clients set themselves up too. |
| Target mismatch or stale hosting A record | autodiscover resolves to a web server IP instead of the mail host | Certificate warnings and repeated password prompts in Outlook | Investigate the stale record against your intended provider before changing it; see the fix steps below. |
| Missing Autodiscover records | Nothing published on the autodiscover hostname | Expected for Google Workspace OAuth2; broken for Exchange and Microsoft 365 | Publish the records for your provider from the reference table below. |
A missing record is an observation, not by itself an error: whether an SRV record is needed depends on the mail provider and the clients in use. The MX context row exists so that Google Workspace domains are not shown a false alarm where no action is required.
How to fix Autodiscover errors and repeated Outlook password prompts
The 4 steps below run in order: confirm the intended setup first, then investigate, then publish, then retest. Record the existing DNS configuration and get the administrator's approval before removing anything.
- Confirm the intended setup. Identify the mailbox provider and deployment (cloud, on-premises, or hybrid) from your admin console, and compare the observed records with that deployment's documented requirements. For a standard Microsoft 365 Exchange Online setup, Microsoft documents the CNAME in the reference table below; other topologies differ.
- Investigate conflicting stale records. A leftover A or AAAA record on autodiscover (often created automatically by cPanel or shared hosting) hijacks Outlook's lookup before the _autodiscover._tcp SRV fallback is ever consulted, and a wildcard *.example.com record answers the same way. Confirm the record is genuinely stale against the intended provider before removing or repointing it.
- Publish the record your deployment needs. Use the Microsoft 365 CNAME where the zone allows it (DNS-only if proxied), or the _autodiscover._tcp SRV with port 443 where the hostname must hold other services. The copy-paste records below fill in with your scanned domain.
- Clear caches and retest after migrations. Outlook caches Autodiscover XML locally; clear the cached profile responses and retest after a mail move. The full recovery sequence lives in email not working after a DNS change, and the complete Microsoft 365 record set (including the autodiscover CNAME) is in the Microsoft 365 sending setup guide.
Copy-paste DNS records for your domain
The tabs below fill in with the domain you scanned. The RFC 6186 / 8314 tab is a standards-based pattern for supporting non-Microsoft clients, not a provider requirement.
TTL 3600 is common practice, not a requirement. The Microsoft 365 CNAME must stay DNS-only (grey cloud) on Cloudflare.
Outlook's external discovery order (Microsoft's documented sequence)
Microsoft documents a strict fallback sequence for Outlook's external Autodiscover lookups, and the order is what makes stale records dangerous: among the DNS-based steps, whichever path answers first wins.
| Lookup step | Endpoint or record queried | Operational behavior |
|---|---|---|
| Step 1: root domain HTTPS | https://<domain>/autodiscover/autodiscover.xml | Checked first. A web server or Content Management System (CMS) answering with HTTP 200 HTML or a 401 prompt intercepts Outlook before any DNS CNAME is consulted: the classic hijack on shared hosting. |
| Step 2: autodiscover host HTTPS | https://autodiscover.<domain>/autodiscover/autodiscover.xml | The primary Microsoft 365 path via the CNAME to autodiscover.outlook.com, or an A record at your mail host. |
| Step 3: HTTP redirect | http://autodiscover.<domain>/autodiscover/autodiscover.xml | An unencrypted HTTP 302 redirect to an HTTPS Autodiscover target is followed; Outlook asks before following cross-domain redirects. |
| Step 4: SRV fallback | _autodiscover._tcp.<domain> SRV (port 443) | Queried when the HTTPS and HTTP paths fail; RFC 2782 requires the SRV target to be a hostname with its own A or AAAA records, never a CNAME. |
On domain-joined Windows machines, Active Directory Service Connection Points (SCP) and registry overrides run before all four external steps, which is why an internal result can differ from every public DNS answer this tool shows.
Verify Autodiscover and autoconfig records from the command line
The commands below reproduce the check from any terminal: a status line with +noall +comments separates a genuine NXDOMAIN from an empty answer, which +short alone hides.
# Outlook primary hostname (CNAME or conflicting A record); the
# comments header shows NOERROR vs NXDOMAIN explicitly
dig autodiscover.example.com CNAME +noall +comments +answer
dig autodiscover.example.com A +noall +comments +answer
# Microsoft SRV fallback
dig _autodiscover._tcp.example.com SRV +noall +comments +answer
# Mozilla Thunderbird autoconfig host
dig autoconfig.example.com CNAME +noall +comments +answer
# IETF RFC 6186 / RFC 8314 mail service discovery (all three services)
dig _imaps._tcp.example.com SRV +short
dig _submissions._tcp.example.com SRV +short
dig _submission._tcp.example.com SRV +short
# Windows Command Prompt equivalent
nslookup -type=srv _autodiscover._tcp.example.com
# Reproduce this tool's MX context row
dig example.com MX +noall +comments +answer Reference table: Autodiscover, SRV, and autoconfig DNS settings by email provider
The table below defines what each major platform publishes and expects, so the tool's results can be read against your own provider. Provider rows reflect each platform's documented setup where one exists; rows marked as widely used alternatives are not from the platform's primary documentation, and the RFC rows are protocol patterns rather than instructions to publish for every provider.
| Email Platform / Method | DNS Hostname | Record Type | Expected Target / Value | Port and Protocol |
|---|---|---|---|---|
| Microsoft 365 / Exchange Online (primary) | autodiscover | CNAME | autodiscover.outlook.com (confirm in your admin center) | TCP 443 HTTPS |
| Microsoft 365 / Exchange (SRV fallback, widely used alternative) | _autodiscover._tcp | SRV | 0 0 443 autodiscover.outlook.com. (widely used alternative when a CNAME is not possible; Microsoft documents the CNAME above) | TCP 443 HTTPS |
| Google Workspace (Gmail) | None required (OAuth2 sign-in) | Optional RFC 6186 / 8314 SRV | No Autodiscover record is part of Google's setup. If you choose SRV discovery for other clients, use your own hostnames: 0 1 993 imap.<host>. and 0 1 465 smtp.<host>. (465 is implicit TLS per RFC 8314; 587 is the usual STARTTLS submission port per RFC 6186) | TCP 993 / 465 / 587 |
| Zoho Mail | _autodiscover._tcp | SRV | SRV-based Autodiscover with a Zoho target (autodiscover.zoho.com; regional variants exist): confirm the exact value in Zoho's current documentation before publishing | TCP 443 HTTPS |
| Fastmail | _autodiscover._tcp, _imaps._tcp and _submissions._tcp | SRV | 0 1 443 autodiscover.fastmail.com. / 0 1 993 imap.fastmail.com. / 0 1 465 smtp.fastmail.com. (verified against live DNS, November 2026; the domain also publishes _submission._tcp as 0 0 0 ., explicitly disabling the STARTTLS service) | TCP 443 / 993 / 465 |
| cPanel / Plesk self-hosted mail | autodiscover and autoconfig | A or CNAME | mail.example.com (with a valid Subject Alternative Name (SAN) TLS certificate) | TCP 443 HTTPS |
| IETF RFC 6186 and RFC 8314 standard | _imaps._tcp / _submissions._tcp / _submission._tcp / _pop3s._tcp | SRV | 0 1 993 <imap-host>. (RFC 6186) / 0 1 465 <smtp-host>. (RFC 8314 implicit TLS) / 0 1 587 <smtp-host>. (RFC 6186 STARTTLS) / 0 1 995 <pop3-host>. (RFC 6186) | TCP 993 / 465 / 587 / 995 |
Autodiscover is located through SRV or CNAME records: the mechanics of each live in the SRV record and CNAME record guides, and how the located ports relate to sending and retrieval is explained in IMAP vs SMTP.
What this Autodiscover checker does not check
This is a public DNS discovery-record checker. The results do not confirm that an Autodiscover endpoint responds, that a TLS certificate is valid, or that a mailbox login succeeds.
- This browser tool inspects the public DNS records (CNAME, A, AAAA, SRV, MX) that route mail clients to your Autodiscover endpoint, but it does not submit user credentials to test an authenticated Exchange Autodiscover.xml or Autodiscover.json payload.
- Local Windows registry overrides (ExcludeHttpsRootDomain, ExcludeScpLookup) and Active Directory Service Connection Points (SCP) on domain-joined PCs run before any public DNS query, so a domain-joined desktop can behave differently from this result.
- A valid autodiscover A or CNAME record still fails in Outlook if the destination web server on port 443 serves an expired or hostname-mismatched TLS certificate; the DNS answer proves nothing about the endpoint's TLS health.
- Public resolver answers can differ from what a client sees on your local network, and they change over time: split-horizon DNS and cached answers are invisible from here.
- Google Workspace accounts authenticate in modern Outlook and Apple Mail via OAuth2 browser sign-in rather than Exchange Autodiscover XML, so missing autodiscover records there are expected, not an error.
If your Autodiscover record looks correct but Outlook still fails
A clean result on this page answers the DNS question only. Three layers sit after it, each with its own test:
- TLS on port 443. A valid DNS record still fails if the endpoint serves an expired certificate or one that omits autodiscover.<domain> from its SAN list. Check the certificate with
openssl s_client -connect autodiscover.example.com:443 -servername autodiscover.example.com. - Registry overrides and SCP on domain-joined PCs. Internal Active Directory Service Connection Points and Exclude* registry keys run before public DNS, so the desktop follows an internal endpoint this tool cannot see.
- Outlook's cached Autodiscover response. Outlook caches the old answer across migrations; clear the cached XML from the local Outlook data folder and retest before blaming DNS again.
When all three check out and the client still fails, authenticated end-to-end testing (the actual XML payload with a mailbox login) is the next layer, and that requires entering credentials, which this tool deliberately never asks for: Microsoft's own Remote Connectivity Analyzer performs that authenticated flow.
Frequently asked questions
Why does Outlook keep asking for a password?+
Repeated Outlook password prompts or certificate warnings on a domain using Microsoft 365 are most often caused by a stale autodiscover A record pointing to your web hosting server. Outlook tries the autodiscover hostname on port 443 before falling back to the SRV record, so a leftover cPanel or shared-hosting A record makes Outlook hit the web server, receive a certificate for the wrong name, and ask for credentials again. A Cloudflare orange-cloud proxy on the autodiscover hostname causes the same failure by rewriting the answer to edge IPs, and a tenant that still expects basic authentication instead of Modern Auth (OAuth2) prompts no matter what DNS says.
What should the autodiscover record point to for Microsoft 365?+
For Microsoft 365 and Exchange Online, Microsoft documents a CNAME record on the host autodiscover pointing to autodiscover.outlook.com with a TTL of 3,600 seconds (common practice, not a Microsoft requirement), left DNS-only (grey cloud) if the zone runs on Cloudflare. In zones where the hostname cannot hold a CNAME, administrator guides widely use the SRV record on _autodiscover._tcp with priority 0, weight 0, port 443, target autodiscover.outlook.com as an alternative. Confirm the value against your own tenant, because Microsoft directs administrators to the value shown in their admin center.
Is autodiscover a CNAME or an SRV record?+
Microsoft Autodiscover supports both a CNAME record (autodiscover.example.com) and a DNS SRV record (_autodiscover._tcp.example.com), evaluated in a fixed priority order. Outlook tries the root-domain URL first, then the autodiscover hostname over HTTPS, then an HTTP redirect, and queries the SRV record only after those fail. The two methods are interchangeable in outcome but not in precedence, which is why a stale A record on the hostname can hijack the lookup before the SRV fallback is ever reached.
Does Cloudflare's orange-cloud proxy break Microsoft 365 Autodiscover?+
Yes, proxying the autodiscover hostname through Cloudflare breaks Microsoft 365 Autodiscover. The orange cloud rewrites the CNAME answer into Cloudflare edge A and AAAA addresses, so Outlook connects to Cloudflare instead of Exchange Online, the TLS certificate no longer matches autodiscover expectations, and the XML or JSON handshake never reaches Microsoft. Set the record to DNS-only (grey cloud) and the CNAME passes through unchanged. Cloudflare also documents that proxied or flattened records interfere with mail-related hostnames that must return the provider target; confirm the change in your dashboard rather than assuming a proxy setting explains every Outlook failure.
What is the difference between Microsoft Autodiscover and Thunderbird Autoconfig?+
Microsoft Autodiscover is the Exchange protocol served on autodiscover.<domain> and discovered through _autodiscover._tcp.<domain>, returning account settings as XML or JSON to Outlook clients. Thunderbird Autoconfig is the Mozilla open specification: clients fetch autoconfig.<domain>/mail/config-v1.1.xml (or the /.well-known/autoconfig path) or fall back to the Mozilla ISPDB database. The IETF standard RFC 6186, extended by RFC 8314, covers the third path: _imaps._tcp, _submissions._tcp, and _submission._tcp SRV records locate IMAP and submission servers for any compliant client.
Does Google Workspace require a DNS Autodiscover record?+
No. Google Workspace signs clients in through OAuth2 and its own profile database rather than Exchange Autodiscover, so a domain whose mail runs on Google Workspace normally publishes no autodiscover CNAME and no _autodiscover._tcp SRV record, and that absence is expected rather than an error. The checker reads the domain MX records as context for exactly this reason: an MX pointing at Google infrastructure reframes a missing Autodiscover record as the normal state, while an MX pointing at Microsoft 365 makes the same absence actionable. Whether to publish the optional RFC 6186 or RFC 8314 SRV records depends on which mail clients you support, not on the platform alone.
Next checks
- Inspect any SRV record in full with the SRV record lookup.
- Follow a CNAME chain to its final answer with the CNAME record lookup.
- Confirm which mail host your domain advertises with the MX record lookup.