Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
create zone and populate example needed FQDN for CNAME dns record
Browse files Browse the repository at this point in the history
  • Loading branch information
mahtin committed Oct 22, 2016
1 parent bc99cb5 commit 406fa56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/example_create_zone_and_populate.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def main():
{'name':'foo', 'type':'AAAA', 'content':'2001:d8b::1'},
{'name':'foo', 'type':'A', 'content':'192.168.0.1'},
{'name':'duh', 'type':'A', 'content':'10.0.0.1', 'ttl':120},
{'name':'bar', 'type':'CNAME', 'content':'foo'},
{'name':'bar', 'type':'CNAME', 'content':'foo.%s' % (zone_name)}, # CNAME requires FQDN at content
{'name':'shakespeare', 'type':'TXT', 'content':"What's in a name? That which we call a rose by any other name would smell as sweet."}
]

Expand Down

0 comments on commit 406fa56

Please sign in to comment.