On this page
What this issue is
Before a browser can load www.example.com, it asks DNS (the Domain Name System, the internet's address book) for the server's IP address. This is the DNS lookup. It normally takes a few milliseconds to a few tens of milliseconds, and is cached afterwards.
The issue has two forms. Slow: the authoritative nameservers (the ones that hold your records) take hundreds of milliseconds or more to answer. Intermittent failure: some lookups time out or return errors such as SERVFAIL or NXDOMAIN, so some visitors see 'This site can't be reached' while others load the page fine.
Common causes: a cheap or overloaded registrar DNS, one nameserver that is down or out of sync with the others, mismatched nameservers at the registrar, a very low TTL (time to live, how long answers may be cached) that forces constant re-lookups, long CNAME chains, and records that were deleted or mistyped during a migration.
Why it costs you leads or sales
DNS comes first, so every delay is added before anything else happens. A paid click that waits on DNS pays for a visit that may be abandoned before the page appears. Intermittent failures are worse: they are hard to reproduce, so you may never see them yourself, while a share of visitors, emails links and ad clicks quietly fail.
It can also hit more than your website. If the same domain handles tracking subdomains, form endpoints, checkout or email records, failed lookups can break those too.
- Ad or link clickVisitor clicks and the browser starts
- DNS lookupNameserver times out or returns an error
- Page loadsNever starts
- Tracking tagsNever run
- Form or checkoutNever reached
The visitor never reaches the page, so nothing after the lookup happens.
Example: illustrative DNS lookup times for a first-time visitor, not measured data.
How to check if your site has it
Test the authoritative nameservers directly, more than once and from more than one place. One good result proves little with an intermittent fault.
List your nameservers
Run the command below. You should see at least two, ideally on different networks.
Query each nameserver directly
Ask each one for your domain and read the 'Query time' line. Repeat 10 times. Consistently high times, timeouts or different answers between servers are the problem.
Compare with the registrar
Check that the nameservers shown at your domain registrar match the NS records returned above. A mismatch gives random failures.
Test from other locations
Use an online DNS propagation or multi-location lookup tool to see whether some regions fail or return old addresses.
Check the browser
In Chrome DevTools, Network tab, click the main document and open Timing. A long 'DNS Lookup' bar on a first visit is a warning sign. Errors like ERR_NAME_NOT_RESOLVED point to failure.
dig NS example.com +short
# Query one nameserver directly (replace ns1.example-dns.com)
dig @ns1.example-dns.com www.example.com A +noall +answer +stats
# Repeat to spot intermittent failures
for i in 1 2 3 4 5 6 7 8 9 10; do dig @ns1.example-dns.com www.example.com +noall +stats | grep 'Query time'; doneHow to fix it
Make the nameservers consistent
At the registrar, make sure the nameserver list matches your DNS host exactly. Remove old nameservers left from a previous provider.
Use a reliable managed DNS provider
If query times are high or a server times out, move your DNS zone to a provider with a global network and several nameservers (for example Cloudflare DNS, Amazon Route 53 or Google Cloud DNS). Copy every record first, then change the nameservers at the registrar.
Copy all records before switching
Export the zone and check A, AAAA, CNAME, MX and TXT records. Missing records are a common cause of NXDOMAIN after a move.
Set sensible TTLs
Use around 300 seconds before a planned change, then raise to 3600 seconds or more for stable records so resolvers can cache them.
Remove long CNAME chains and stale records
Point the record directly at its target where you can. Delete records for services you no longer use.
Check IPv6 records
If you have an AAAA record, make sure it points to a working server. A bad AAAA record can cause delays or failures for some visitors.
Find where DNS is managed
WordPress itself has no DNS settings. DNS lives at your registrar, host or a service such as Cloudflare. Check the nameservers with dig to see which.
Edit records there
Fix the A or CNAME record for the site at that provider, and ask your host for the correct server address.
Open domain settings
In Shopify admin go to Settings, then Domains. Shopify shows whether the domain is connected correctly.
Fix the records
At your DNS host, the root domain A record should point to Shopify's address and www should be a CNAME to shops.myshopify.com, as shown in the Domains page. Remove conflicting records.
Check Hosting settings
In Project settings, Publishing, check the custom domain status and the records Webflow asks for.
Match them at your DNS host
Set the A records and the www CNAME exactly as Webflow lists, and remove old ones.
Open Domains
In Wix, go to Domains and open the domain's DNS records or nameserver settings.
Correct the connection
If the domain is registered elsewhere, use the pointing or nameserver details Wix gives you and remove records that conflict.
Open DNS settings
Go to Settings, Domains, choose the domain, then DNS Settings.
Restore defaults if needed
Check the Squarespace default records are present and remove any that clash. For third-party registrars, follow the connect-domain instructions.
Check the custom domain
In Settings, Domains, view the required CNAME or A record for the domain.
Fix at your DNS host
Add the record exactly as shown and confirm it resolves with dig.
Review the zone
Export your DNS zone and check each record against your server or load balancer addresses.
Move to managed DNS if needed
Use a provider with several anycast nameservers, then update nameservers at the registrar.
How to confirm it's fixed
- Registrar nameservers match the NS records returned by dig
- Each nameserver answers 10 out of 10 queries with the same result
- Query times are consistently low (tens of milliseconds)
- Multi-location DNS checker shows the right address everywhere
- Both the root domain and www resolve
- The page loads in a private window and on mobile data
- Tracking and form requests still reach their endpoints
How to prevent it happening again
- Keep DNS with a provider that has multiple nameservers on separate networks
- Export a backup of your zone file after each change
- Lower TTLs only before a planned change, then raise them again
- Turn on registrar auto-renewal so the domain never lapses
- Review records after every migration or tool change
- Run scheduled checks of your key pages so failures are noticed quickly
How FunnelGuard handles this
FunnelGuard detects this issue only partly. It runs your real customer journeys on a schedule from the EU or the US, and when a page cannot be reached because the name does not resolve, the step fails. The failure is re-checked from a second region, then one alert goes out with a screenshot and a likely cause. So failures caused by DNS are seen.
What it does not do is measure DNS lookup time. A slow but working lookup will not be flagged as a DNS problem, and a failure that happens only for some visitors or resolvers may not show in a scheduled check.
To cover the rest by hand, run the dig tests above every so often, use a multi-location DNS checker after any DNS change, and look at the DNS Lookup bar in browser DevTools. You can start with the Free plan (1 site, 2 journeys, daily checks, no card), and paid plans have a 3-day free trial.
Problem
- Registrar and DNS host list different nameservers
- One nameserver times out
- Stale AAAA record points to a dead server
- Visitors sometimes see 'site can't be reached'
Fixed
- Nameservers match everywhere
- All nameservers answer quickly
- Records point only to live servers
- Pages load consistently from every region
Questions people ask
Why is my website sometimes not loading but works after a refresh?
A common cause is an intermittent DNS failure. One of your nameservers may time out or return an error, so some lookups fail and a retry hits a healthy server. Query each nameserver several times with dig to see if one is unreliable.
How do I check my DNS lookup time?
Run dig @your-nameserver www.yourdomain.com and read the 'Query time' line, repeating it several times. You can also open Chrome DevTools, select the page request in the Network tab and look at the DNS Lookup bar under Timing.
What is a good DNS lookup time?
For a managed DNS provider, answers usually come back in tens of milliseconds. Consistent times of several hundred milliseconds, or any timeouts, point to an overloaded or poorly located nameserver worth fixing.
Why does DNS_PROBE_FINISHED_NXDOMAIN appear only for some visitors?
It means a resolver was told the domain does not exist. This can happen when nameservers disagree, a record is missing on one of them, or a recent change has not reached all resolvers. Make sure every nameserver returns the same records.
Does a low DNS TTL slow down my website?
It can. A very low TTL makes resolvers ask your nameservers again more often, so more visitors wait for a fresh lookup. Use short TTLs only around planned changes and longer ones, such as an hour, for stable records.
Should I change my DNS provider to speed up my site?
If your current nameservers answer slowly or fail, yes. Move to a managed DNS provider with several nameservers on a global network, copy all records first and then update the nameservers at your registrar.
Can FunnelGuard tell me my DNS is slow?
Not directly. FunnelGuard sees failures when a journey step cannot load because of DNS, but it does not measure DNS lookup time. Check lookup speed with dig or DevTools.
Related issues
- PRF-050TTFB over 800 msFix guide
- PRF-052Slow TTFB only from one region (no CDN)Fix guide
- PRF-061Origin server returns 5xx intermittentlyFix guide
- PRF-067Redirect chain adds 1+ s before first byteFix guide
- PRF-071TLS handshake slow / old TLS versions onlyFix guide
- PRF-073Hosting rate-limits or WAF blocks normal visitors from some countriesFix guide