xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/logfileconfig/ns1/named.tsconf.in (revision 924795e69c8bb3f17afd8fcbb799710cc1719dc4)
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	  buffered no;
30	  file "named_ts" versions 3 size 1000 suffix timestamp; # small size
31	  severity debug 100;
32	  print-time yes;
33	};
34	category default { default_log; default_debug; };
35	category lame-servers { null; };
36
37	channel query_log {
38	  file "query_log";
39	  print-time yes;
40	  buffered yes;
41	};
42	category queries { query_log; };
43};
44
45controls {
46	inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { "rndc-key"; };
47};
48
49key rndc-key {
50	secret "1234abcd8765";
51	algorithm hmac-sha256;
52};
53