Skip to content

Commit

Permalink
adds TTL to ns record for #5
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Butler committed Jun 7, 2014
1 parent ddc19f0 commit cc96cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/bind/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def first_setup(self, parser, domain='example.com'):
'update-retry': '15m',
'expiry': '3w',
'minimum': '3h'})
parser.dict_to_zone({'rr': 'NS', 'alias': '@',
parser.dict_to_zone({'rr': 'NS', 'alias': '@', 'ttl': 1600,
'addr': 'ns.%s.' % domain})
parser.dict_to_zone({'rr': 'A', 'alias': 'ns', 'addr': addr,
'ttl': 300})
Expand Down

0 comments on commit cc96cdb

Please sign in to comment.