mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-23 10:37:43 -04:00
Add a new system test which checks named output when starting, reconfiguring and reloading the server. It checks that the steps where configuration is loaded, when named enters exclusive mode, and when the configuration is applied are all logged, and that they occur in the correct order. This adds a guard/warning to keep the parsing of the named.conf outside of the exclusive mode.
15 lines
668 B
Text
15 lines
668 B
Text
Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
|
|
SPDX-License-Identifier: MPL-2.0
|
|
|
|
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.
|
|
|
|
This test is a "guard/warning" to make sure the named.conf loading (parsing) is
|
|
done outside of the exclusive mode (so, named is still able to answer queries
|
|
and operating normally in case of configuration reload). It is currently based
|
|
on logging, so it's quite brittle.
|