From abe6ed965e87ccd5743a2f9b3534cdea6414032c Mon Sep 17 00:00:00 2001 From: redxef Date: Tue, 16 Jan 2024 19:37:15 +0100 Subject: [PATCH] Change default ttl to 60s. --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 9daeb22..3e23c2f 100755 --- a/main.py +++ b/main.py @@ -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():