Skip to content

Commit 7a99f64

Browse files
Re-structure with h4s and add explanation for cf-proxied
1 parent 206c875 commit 7a99f64

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

src/content/docs/dns/manage-dns-records/how-to/import-and-export.mdx

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,20 @@ g.example.com. 60 IN A 1.1.1.1
9292

9393
### Reserved cf- tags
9494

95-
- **cf-proxied**:
96-
- **cf-flatten-cname**: If you are on a paid zone and want to use [Per-record CNAME flattening](/dns/cname-flattening/set-up-cname-flattening/#per-record), use the tag `cf-flatten-cname` next to each flattened CNAME record in your zone file. On export, this tag is automatically added to reflect the record configuration that you have on your zone.
95+
When exporting and importing, special tags starting by `cf-` allow you to control specific Cloudflare configurations. On export, these tags are automatically added to reflect the current configuration for each record on your zone.
96+
97+
#### cf-proxied
98+
99+
On export, [proxied DNS records](/dns/manage-dns-records/reference/proxied-dns-records/#proxied-records) will present a tag `cf-proxied:true` while DNS-only records will have this tag set to `cf-proxied:false`.
100+
101+
When importing zone files, the value in the `cf-proxied` tag will take precedence in determining whether a record should be proxied. This means that:
102+
103+
- If the tag is present, its value will be considered for the respective record regardless of the **Proxy imported DNS records** option being selected (via dashboard), or the `proxied` parameter being generally set to `true` or `false` (via API).
104+
- If the tag is absent, the proxied status will fall back to the general import option, meaning **Proxy imported DNS records** selected or not (via dashboard) or the `proxied` parameter set to `true` or `false` (via API).
105+
106+
#### cf-flatten-cname
107+
108+
If you are on a paid zone and want to use [Per-record CNAME flattening](/dns/cname-flattening/set-up-cname-flattening/#per-record), use the tag `cf-flatten-cname` next to each flattened CNAME record in your zone file. On export, this tag is automatically added to reflect the record configuration that you have on your zone.
97109

98110
## DNS zone file directives
99111

0 commit comments

Comments
 (0)