Skip to content

Commit 792e093

Browse files
jacobbednarzstainless-app[bot]
authored andcommitted
feat: swap DNS example to A
1 parent acbdc24 commit 792e093

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/dns/record.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
client = Cloudflare()
1111

1212
record = client.dns.records.create(
13-
zone_id=zone_id,
14-
type='CNAME',
15-
name="www.mydns.com",
16-
content="cname.example.com",
17-
proxied=False
13+
zone_id=zone_id,
14+
type='A',
15+
name="www.mydns.com",
16+
content="198.51.100.1",
17+
proxied=True
1818
)
1919

2020
# print(record)

0 commit comments

Comments
 (0)