Skip to content

Commit 3e00488

Browse files
Add example for the cf- tags
1 parent 7a99f64 commit 3e00488

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,13 @@ g.example.com. 60 IN A 1.1.1.1
9494

9595
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.
9696

97+
```txt title="Records with cf- tags example"
98+
;; CNAME Records
99+
a.cloudflaredocs.com. 1 IN CNAME example.com. ; cf_tags=test:1,cf-flatten-cname
100+
b.cloudflaredocs.com. 1 IN CNAME example.com. ; cf_tags=cf-proxied:false
101+
c.cloudflaredocs.com. 1 IN CNAME example.com. ; cf_tags=tag-without-value,cf-proxied:true
102+
```
103+
97104
#### cf-proxied
98105

99106
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`.

0 commit comments

Comments
 (0)