Skip to content

Commit

Permalink
Update DNS resource_record_set(). closes #1886
Browse files Browse the repository at this point in the history
  • Loading branch information
daspecster committed Jul 12, 2016
1 parent a1620a9 commit 7ea997c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/dns-usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ bundling additions to or deletions from the set.
>>> zone = client.zone('acme-co', 'example.com')
>>> TWO_HOURS = 2 * 60 * 60 # seconds
>>> record_set = zone.resource_record_set(
... 'www.example.com', 'CNAME', TWO_HOURS, 'www1.example.com')
... 'www.example.com.', 'CNAME', TWO_HOURS, ['www1.example.com.',])
>>> changes = zone.changes()
>>> changes.add_record_set(record_set)
>>> changes.create() # API request
Expand Down

0 comments on commit 7ea997c

Please sign in to comment.