Skip to content

Dane/support knowledge gaps - check with SRhea before approving - #29782

Merged
TownLake merged 13 commits into
productionfrom
dane/support-knowledge-gaps
Apr 15, 2026
Merged

Dane/support knowledge gaps - check with SRhea before approving#29782
TownLake merged 13 commits into
productionfrom
dane/support-knowledge-gaps

Conversation

@TownLake

Copy link
Copy Markdown
Contributor

Summary

Screenshots (optional)

Documentation checklist

  • Is there a changelog entry (guidelines)? If you don't add one for something awesome and new (however small) — how will our customers find out? Changelogs are automatically posted to RSS feeds, the Discord, and X.
  • The change adheres to the documentation style guide.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

@github-actions

Copy link
Copy Markdown
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/docs/cache/ @angelampcosta, @cloudflare/pcx-technical-writing, @cloudflare/product-owners
/src/content/docs/cloudflare-one/ @ranbel, @Maddy-Cloudflare, @codyanthony850, @cloudflare/pcx-technical-writing, @cloudflare/product-owners
/src/content/docs/cloudflare-one/networks/connectors/cloudflare-tunnel/ @nikitacano, @ranbel, @cloudflare/pcx-technical-writing, @cloudflare/product-owners
/src/content/docs/dns/ @RebeccaTamachiro, @cloudflare/pcx-technical-writing, @cloudflare/product-owners
/src/content/docs/registrar/ @dcpena, @cloudflare/pcx-technical-writing, @cloudflare/product-owners
/src/content/docs/speed/ @angelampcosta, @cloudflare/pcx-technical-writing, @cloudflare/product-owners
/src/content/docs/ssl/ @RebeccaTamachiro, @cloudflare/pcx-technical-writing, @cloudflare/product-owners
/src/content/docs/support/ @cloudflare/pcx-technical-writing, @cloudflare/product-owners, @cloudflare/customer-support
/src/content/docs/waf/ @pedrosousa, @cloudflare/firewall, @cloudflare/pcx-technical-writing, @cloudflare/product-owners

@TownLake TownLake changed the title Dane/support knowledge gaps Dane/support knowledge gaps - check with SRhea before approving Apr 12, 2026
@github-actions

github-actions Bot commented Apr 12, 2026

Copy link
Copy Markdown
Contributor

Preview URL: https://4e93ebff.preview.developers.cloudflare.com
Preview Branch URL: https://dane-support-knowledge-gaps.preview.developers.cloudflare.com

Files with changes (up to 15)

Original Link Updated Link
https://developers.cloudflare.com/cache/troubleshooting/dynamic-content-and-login-issues/ https://dane-support-knowledge-gaps.preview.developers.cloudflare.com/cache/troubleshooting/dynamic-content-and-login-issues/
https://developers.cloudflare.com/waf/troubleshooting/phase-interactions/ https://dane-support-knowledge-gaps.preview.developers.cloudflare.com/waf/troubleshooting/phase-interactions/
https://developers.cloudflare.com/dns/troubleshooting/dns-issues/ https://dane-support-knowledge-gaps.preview.developers.cloudflare.com/dns/troubleshooting/dns-issues/
https://developers.cloudflare.com/dns/troubleshooting/email-issues/ https://dane-support-knowledge-gaps.preview.developers.cloudflare.com/dns/troubleshooting/email-issues/
https://developers.cloudflare.com/speed/optimization/protocol/troubleshooting/protocol-troubleshooting/ https://dane-support-knowledge-gaps.preview.developers.cloudflare.com/speed/optimization/protocol/troubleshooting/protocol-troubleshooting/
https://developers.cloudflare.com/registrar/troubleshooting/ https://dane-support-knowledge-gaps.preview.developers.cloudflare.com/registrar/troubleshooting/
https://developers.cloudflare.com/cloudflare-one/integrations/identity-providers/one-time-pin/ https://dane-support-knowledge-gaps.preview.developers.cloudflare.com/cloudflare-one/integrations/identity-providers/one-time-pin/
https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/troubleshoot-tunnels/common-errors/ https://dane-support-knowledge-gaps.preview.developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/troubleshoot-tunnels/common-errors/
https://developers.cloudflare.com/cloudflare-one/team-and-resources/users/scim/ https://dane-support-knowledge-gaps.preview.developers.cloudflare.com/cloudflare-one/team-and-resources/users/scim/
https://developers.cloudflare.com/ssl/origin-configuration/origin-ca/ https://dane-support-knowledge-gaps.preview.developers.cloudflare.com/ssl/origin-configuration/origin-ca/
https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-523/ https://dane-support-knowledge-gaps.preview.developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-523/
https://developers.cloudflare.com/waf/concepts/ https://dane-support-knowledge-gaps.preview.developers.cloudflare.com/waf/concepts/

Comment thread src/content/docs/waf/troubleshooting/phase-interactions.mdx Outdated
Comment thread src/content/docs/waf/reference/legacy/old-rate-limiting/upgrade.mdx Outdated

## Skip and Allow do not behave the same way

In the custom rules phase, **Allow** and **Skip** solve different problems.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is incorrect. Allow was used in Firewall Rules (deprecated and almost all customers migrated over to the Custom RUles). Skip is the new allow but for custom rules

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IP Access Rules has allow though, and that is still valid

Comment on lines +62 to +72
If you recently created a DNS record and resolvers still return `NXDOMAIN` or no answer, the previous negative response may still be cached.

For new records, many resolvers use the zone's negative caching TTL rather than the new record's TTL. This negative cache duration is typically taken from the `MINIMUM` field in the zone's `SOA` record, as described in [RFC 2308](https://datatracker.ietf.org/doc/html/rfc2308).

This means:

- Lowering the TTL on the new record does not clear an existing negative cache entry.
- Flushing your local DNS cache only affects your own device.
- Different recursive resolvers may recover at different times depending on when they cached the negative answer.

To confirm, query the zone's `SOA` record and check the negative caching value. Then wait for that interval to expire before testing again.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If you recently created a DNS record and resolvers still return `NXDOMAIN` or no answer, the previous negative response may still be cached.
For new records, many resolvers use the zone's negative caching TTL rather than the new record's TTL. This negative cache duration is typically taken from the `MINIMUM` field in the zone's `SOA` record, as described in [RFC 2308](https://datatracker.ietf.org/doc/html/rfc2308).
This means:
- Lowering the TTL on the new record does not clear an existing negative cache entry.
- Flushing your local DNS cache only affects your own device.
- Different recursive resolvers may recover at different times depending on when they cached the negative answer.
To confirm, query the zone's `SOA` record and check the negative caching value. Then wait for that interval to expire before testing again.
If you recently created a DNS record and resolvers still return `NXDOMAIN` (Non-Existent Domain) or no answer, it is likely because a negative response is currently stored in the resolver's cache.
When a resolver is queried for a hostname that has no DNS records yet, it caches the empty response so it does not have to ask the authoritative nameserver again immediately. This is known as negative caching.
For newly created records:
- The resolver might not have cached the new record yet. Instead, it is using a prior `NXDOMAIN` cache entry that says "this record does not exist," which was generated if the hostname was queried before you created the record.
- The duration of this negative cache is determined by the `MINIMUM` field in your zone's SOA record (per [RFC 2308](https://datatracker.ietf.org/doc/html/rfc2308)), not the TTL of the record you just created. Different resolvers may cache for varying durations.
This means:
- Lowering the TTL on your new record will not speed up resolution if a negative cache entry already exists; the resolver will only see your new TTL after the old negative entry expires.
- Flushing your local DNS cache only affects your specific device; the upstream recursive resolver (for example, your ISP or a public provider) still holds the negative result.
- Propagation appears uneven because different resolvers may have queried the name at different times, apply different negative cache TTLs, or have no negative cache entry at all.
The exact behavior differs per resolver, but to estimate how long you need to wait, query your zone's SOA record and look at the last value (the `MINIMUM` field). You must wait for that interval to pass since the last `NXDOMAIN` query before the new record will consistently resolve.
To verify the record resolves correctly, you can purge the cache for public resolvers and query the record. If this works, other resolvers will eventually start resolving as well:
- [Purge 1.1.1.1 cache](https://one.one.one.one/purge-cache/)
- [Purge 8.8.8.8 cache](https://dns.google/cache)
- [Query 8.8.8.8](https://dns.google/)
- [Query and refresh OpenDNS cache](https://cachecheck.opendns.com/)
#### Further debugging
To verify the record was correctly created, query Cloudflare's authoritative nameservers directly:
```sh
# Find the authoritative nameservers for your zone
dig @1.1.1.1 example.com NS +short
# Query the authoritative nameserver for your new record
dig @hera.ns.cloudflare.com mynewrecord.example.com A

Querying the authoritative nameserver directly bypasses resolver caching. If the record is returned, resolvers will eventually start returning it as well. If the record does not appear, verify the record exists in the Cloudflare dashboard and that the hostname matches exactly.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The original text was a bit confusing in my opinion. So here is a revised and more technically accurate suggestion, partly written by Gemini, partly with input from the team.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can I suggest that we include a dig command that will reveal if it is being cached? Giving them lots of words doesn't help.

$ dig +noall +answer +authority     asdf.walmart.com 

walmart.com.		256	IN	SOA	..

In this example, the negative cache response will continue for 256s

danielegm and others added 2 commits April 14, 2026 14:28
* [DNS] Expand negative caching troubleshooting for newly created records

* [DNS] Add dig example to check negative cache TTL

@cferike cferike left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SSL section looks good to me. The Origin CA expiry note is accurate, there is no notification type for Origin CA certificate expiration today.

For reference:

Good addition, customers hit 526 errors with no warning when these expire.

@TownLake
TownLake enabled auto-merge (squash) April 15, 2026 08:36
@TownLake
TownLake disabled auto-merge April 15, 2026 08:46
@TownLake
TownLake merged commit 068433c into production Apr 15, 2026
13 checks passed
@TownLake
TownLake deleted the dane/support-knowledge-gaps branch April 15, 2026 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:cache Issues or PRs related to Cache product:cloudflare-one product:dns Issues or PRs related to DNS product:registrar Related to Registrar product product:speed product:ssl Related to SSL product:support product:waf size/m

Projects

None yet

Development

Successfully merging this pull request may close these issues.