With the netmgr in use, named may start answering queries before zones are loaded. This can cause transient failures in system tests after servers are restarted or reconfigured. This commit adds retry loops and sleep statements where needed to address this problem. Also incidentally silenced a clang warning.
45 lines
978 B
Plaintext
45 lines
978 B
Plaintext
/*
|
|
* 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 http://mozilla.org/MPL/2.0/.
|
|
*
|
|
* See the COPYRIGHT file distributed with this work for additional
|
|
* information regarding copyright ownership.
|
|
*/
|
|
|
|
options {
|
|
query-source address 10.53.0.3;
|
|
notify-source 10.53.0.3;
|
|
transfer-source 10.53.0.3;
|
|
port @PORT@;
|
|
pid-file "named.pid";
|
|
listen-on { 10.53.0.3; };
|
|
listen-on-v6 { none; };
|
|
recursion no;
|
|
notify yes;
|
|
};
|
|
|
|
zone "example" {
|
|
type slave;
|
|
file "example.bk";
|
|
allow-update-forwarding { any; };
|
|
masters { 10.53.0.1; };
|
|
};
|
|
|
|
zone "example2" {
|
|
type slave;
|
|
file "example2.bk";
|
|
allow-update-forwarding { any; };
|
|
masters { 10.53.0.1; };
|
|
};
|
|
|
|
zone "nomaster" {
|
|
type slave;
|
|
file "nomaster1.db";
|
|
allow-update-forwarding { any; };
|
|
masterfile-format text;
|
|
masters { 10.53.0.4; };
|
|
};
|