diff options
Diffstat (limited to '')
-rw-r--r-- | bin/tests/system/logfileconfig/ns1/named.plain | 51 | ||||
-rw-r--r-- | bin/tests/system/logfileconfig/ns1/named.plainconf | 34 |
2 files changed, 85 insertions, 0 deletions
diff --git a/bin/tests/system/logfileconfig/ns1/named.plain b/bin/tests/system/logfileconfig/ns1/named.plain new file mode 100644 index 0000000..0ef7832 --- /dev/null +++ b/bin/tests/system/logfileconfig/ns1/named.plain @@ -0,0 +1,51 @@ +/* + * 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.1; + notify-source 10.53.0.1; + transfer-source 10.53.0.1; + port @PORT@; + pid-file "named.pid"; + listen-on { 10.53.0.1; }; + listen-on-v6 { none; }; + recursion no; + notify yes; +}; + +logging { + channel default_log { + file "named_log"; + print-time yes; + }; + category default { default_log; default_debug; }; + category lame-servers { null; }; + + channel query_log { + file "query_log"; + print-time yes; + buffered yes; + }; + category queries { query_log; }; +}; + +include "controls.conf"; + +key "rndc-key" { + algorithm hmac-sha256; + secret "Am9vCg=="; +}; + + +zone "." { + type master; + file "root.db"; +}; diff --git a/bin/tests/system/logfileconfig/ns1/named.plainconf b/bin/tests/system/logfileconfig/ns1/named.plainconf new file mode 100644 index 0000000..75e0c79 --- /dev/null +++ b/bin/tests/system/logfileconfig/ns1/named.plainconf @@ -0,0 +1,34 @@ +/* + * 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.1; + notify-source 10.53.0.1; + transfer-source 10.53.0.1; + port @PORT@; + pid-file "named.pid"; + listen-on { 10.53.0.1; }; + listen-on-v6 { none; }; + recursion no; + notify yes; +}; + +include "controls.conf"; + +key "rndc-key" { + algorithm hmac-sha256; + secret "Am9vCg=="; +}; + +zone "." { + type master; + file "root.db"; +}; |