xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/logfileconfig/ns1/named.plain.in (revision 8e33eff89e26cf71871ead62f0d5063e1313c33a)
1/*
2 * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
3 *
4 * SPDX-License-Identifier: MPL-2.0
5 *
6 * This Source Code Form is subject to the terms of the Mozilla Public
7 * License, v. 2.0.  If a copy of the MPL was not distributed with this
8 * file, you can obtain one at https://mozilla.org/MPL/2.0/.
9 *
10 * See the COPYRIGHT file distributed with this work for additional
11 * information regarding copyright ownership.
12 */
13
14options {
15	query-source address 10.53.0.1;
16	notify-source 10.53.0.1;
17	transfer-source 10.53.0.1;
18	port @PORT@;
19	pid-file "named.pid";
20	listen-on { 10.53.0.1; };
21	listen-on-v6 { none; };
22	dnssec-validation no;
23	recursion no;
24	notify yes;
25};
26
27logging {
28	channel default_log {
29	  file "named_log";
30	  print-time yes;
31	};
32	category default { default_log; default_debug; };
33	category lame-servers { null; };
34
35	channel query_log {
36	  file "query_log";
37	  print-time yes;
38	  buffered yes;
39	};
40	category queries { query_log; };
41};
42
43controls {
44	inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { "rndc-key"; };
45};
46
47key rndc-key {
48	secret "1234abcd8765";
49	algorithm @DEFAULT_HMAC@;
50};
51