Check parsed resconf values

Add 'attempts' check, fix 'ndots' data. Create a bunch of verification
functions and check parsed values, not just return codes.
This commit is contained in:
Petr Menšík
2021-07-20 19:34:42 +02:00
committed by Evan Hunt
parent dbf71b3f68
commit 48d5b50313
3 changed files with 54 additions and 4 deletions

View File

@@ -0,0 +1,10 @@
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, you can obtain one at https://mozilla.org/MPL/2.0/.
#
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
options attempts:4

View File

@@ -7,4 +7,4 @@
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
option ndots:2
options ndots:2