Skip to content

Commit c86e00e

Browse files
[DNS] Stale response for upstream DNS resolution (#21592)
* Create new troubleshooting page under dns-records * Text adjustments following PM review * Add different scenarios to page description * Clarify variable symptoms and proxied is flattened by default * More details on CNAME flattening scenarios and text review * Fill in Solutions section * Move away from Operator terminology make OARC a separate bullet * Adjust filename to reflect latest content changes
1 parent 0db7594 commit c86e00e

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: Stale response for upstream DNS resolution
3+
pcx_content_type: troubleshooting
4+
sidebar:
5+
order: 15
6+
label: Stale response
7+
---
8+
9+
import { GlossaryTooltip } from "~/components";
10+
11+
In one of the scenarios below, you notice that stale DNS responses are used. Depending on the scenario and other aspects of your configuration, this can cause wrong content or no content to be returned.
12+
13+
- A <GlossaryTooltip term="proxy status">proxied</GlossaryTooltip> CNAME record ([flattened by default](/dns/cname-flattening/)).
14+
- A DNS-only CNAME record that has flattening enabled. This can happen either via the specific record configuration or as a consequence of the [zone settings](/dns/cname-flattening/set-up-cname-flattening/).
15+
- A [Workers](/workers/) script making a subrequest to an external hostname[^1].
16+
17+
## Cause
18+
19+
In the event that an upstream DNS server takes too long to respond, or the upstream returns a SERVFAIL, Cloudflare will use the expired DNS response from the cache and then attempt to update that cache asynchronously.
20+
21+
## Solutions
22+
23+
- If possible, temporarily replace the proxied CNAME with a proxied A record. This may not always be possible, especially if the upstream target is a load balancer or if it returns dynamic responses.
24+
25+
- Report the issues to the zone owner or DNS provider for the upstream target that is unresponsive.
26+
27+
- You can also raise the issue through the DNS Operations Analysis and Research Center (DNS OARC). Consider its [chat platform](https://www.dns-oarc.net/oarc/services/chat) or [email lists](https://www.dns-oarc.net/oarc/lists).
28+
29+
[^1]: A hostname that is not using Cloudflare as its [authoritative DNS provider](/dns/concepts/#authoritative-dns).

0 commit comments

Comments
 (0)