Remove TTL parameter from DNS edit request
This commit is contained in:
parent
496b79bce0
commit
e534284cde
|
@ -33,7 +33,6 @@ def edit_record(id, ip):
|
||||||
|
|
||||||
config['type'] = 'A' if ip.version == 4 else 'AAAA'
|
config['type'] = 'A' if ip.version == 4 else 'AAAA'
|
||||||
config['content'] = str(ip)
|
config['content'] = str(ip)
|
||||||
config['ttl'] = 600
|
|
||||||
return api(endpoint + 'dns/edit/' + config['domain'] + '/' + id)
|
return api(endpoint + 'dns/edit/' + config['domain'] + '/' + id)
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue