Change TTL to 30min

This commit is contained in:
Kload 2013-07-07 13:35:13 +02:00
parent 94d59e4085
commit e951cda55e

View file

@ -111,12 +111,12 @@ def dyndns_update(dyn_host="dynhost.yunohost.org", domain=None, key=None, ip=Non
'update delete vjud.'+ domain +'. A',
'update delete _xmpp-client._tcp.'+ domain +'. SRV',
'update delete _xmpp-server._tcp.'+ domain +'. SRV',
'update add '+ domain +'. 14400 A '+ new_ip,
'update add '+ domain +'. 1800 A '+ new_ip,
'update add '+ domain +'. 14400 MX 5 '+ domain +'.',
'update add '+ domain +'. 14400 TXT "v=spf1 a mx a:'+ domain +'. ?all"',
'update add pubsub.'+ domain +'. 14400 A '+ new_ip,
'update add muc.'+ domain +'. 14400 A '+ new_ip,
'update add vjud.'+ domain +'. 14400 A '+ new_ip,
'update add pubsub.'+ domain +'. 1800 A '+ new_ip,
'update add muc.'+ domain +'. 1800 A '+ new_ip,
'update add vjud.'+ domain +'. 1800 A '+ new_ip,
'update add _xmpp-client._tcp.'+ domain +'. 14400 SRV 0 5 5222 '+ domain +'.',
'update add _xmpp-server._tcp.'+ domain +'. 14400 SRV 0 5 5269 '+ domain +'.',
'show',