From 5edadd507c71cc61870994b38e1599f44238fbcb Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Tue, 6 Feb 2018 22:59:32 +0100 Subject: [PATCH] Add default_ttl to expected attributes Signed-off-by: Knut Ahlers --- checkZonefile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkZonefile.py b/checkZonefile.py index 01f8ec7..fe3fba4 100644 --- a/checkZonefile.py +++ b/checkZonefile.py @@ -114,7 +114,7 @@ def check_nameserver(nameservers): def check_zone(name, config): - expected_zone = ['mailserver', 'entries'] + expected_zone = ['mailserver', 'entries', 'default_ttl'] for k in config.keys(): if k not in expected_zone: