Change default ttl to 60s.

This commit is contained in:
redxef 2024-01-16 19:37:15 +01:00
parent f1ccd236d9
commit abe6ed965e
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

View file

@ -28,7 +28,7 @@ config_schema = Schema({
Optional('logging', default={'level': ':WARNING,ovhdns:INFO'}): {
Optional('level', default=':WARNING,ovhdns:INFO'): Use(str),
},
Optional('ttl', default=None): Use(lambda i: int(i) if i is not None else None),
Optional('ttl', default=60): Use(lambda i: int(i) if i is not None else None),
})
def get_opendns_ips():