From 406fa56b8666ddee1082f1bac0b7ade527c39037 Mon Sep 17 00:00:00 2001 From: Martin Levy Date: Fri, 21 Oct 2016 17:29:47 -0700 Subject: [PATCH] create zone and populate example needed FQDN for CNAME dns record --- examples/example_create_zone_and_populate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/example_create_zone_and_populate.py b/examples/example_create_zone_and_populate.py index b2c1a26..a4e01b6 100755 --- a/examples/example_create_zone_and_populate.py +++ b/examples/example_create_zone_and_populate.py @@ -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."} ]