1 parent bc99cb5 commit 406fa56Copy full SHA for 406fa56
1 file changed
examples/example_create_zone_and_populate.py
@@ -50,7 +50,7 @@ def main():
50
{'name':'foo', 'type':'AAAA', 'content':'2001:d8b::1'},
51
{'name':'foo', 'type':'A', 'content':'192.168.0.1'},
52
{'name':'duh', 'type':'A', 'content':'10.0.0.1', 'ttl':120},
53
- {'name':'bar', 'type':'CNAME', 'content':'foo'},
+ {'name':'bar', 'type':'CNAME', 'content':'foo.%s' % (zone_name)}, # CNAME requires FQDN at content
54
{'name':'shakespeare', 'type':'TXT', 'content':"What's in a name? That which we call a rose by any other name would smell as sweet."}
55
]
56
0 commit comments