Increase default TTL to 600

This commit is contained in:
Anthony Wang 2022-07-21 14:12:16 -05:00
parent 716794bcd3
commit 496b79bce0
Signed by: exogit
GPG key ID: 1DDC6BC38786C595

View file

@ -33,7 +33,7 @@ def edit_record(id, ip):
config['type'] = 'A' if ip.version == 4 else 'AAAA'
config['content'] = str(ip)
config['ttl'] = 300
config['ttl'] = 600
return api(endpoint + 'dns/edit/' + config['domain'] + '/' + id)