diff --git a/examples/dns/record.py b/examples/dns/record.py index 05ee42c60f8..fa97e2abf95 100644 --- a/examples/dns/record.py +++ b/examples/dns/record.py @@ -6,9 +6,6 @@ if zone_id is None: sys.exit("CLOUDFLARE_ZONE_ID is not defined") -alias_name = "www.mydns.com" -cannonical_name = "cname.example.com" - client = Cloudflare() @@ -17,8 +14,8 @@ record = client.dns.records.create( zone_id=zone_id, type='CNAME', - name=alias_name, - content=cannonical_name, + name="www.mydns.com", + content="cname.example.com", proxied=False )