Skip to content

Commit

Permalink
swap DNS example to A
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz authored Dec 12, 2024
1 parent 2284798 commit a320820
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/dns/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
client = Cloudflare()

record = client.dns.records.create(
zone_id=zone_id,
type='CNAME',
name="www.mydns.com",
content="cname.example.com",
proxied=False
zone_id=zone_id,
type='A',
name="www.mydns.com",
content="198.51.100.1",
proxied=True
)

# print(record)

0 comments on commit a320820

Please sign in to comment.