xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/tsiggss/ns1/named.conf.in (revision f0fde9902fd4d72ded2807793acc7bfaa1ebf243)
1/*
2 * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
3 *
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 *
8 * See the COPYRIGHT file distributed with this work for additional
9 * information regarding copyright ownership.
10 */
11
12options {
13	query-source address 10.53.0.1;
14	notify-source 10.53.0.1;
15	transfer-source 10.53.0.1;
16	port @PORT@;
17	pid-file "named.pid";
18	session-keyfile "session.key";
19	listen-on { 10.53.0.1; 127.0.0.1; };
20	listen-on-v6 { none; };
21	recursion no;
22	notify yes;
23	tkey-gssapi-keytab "dns.keytab";
24};
25
26key rndc_key {
27	secret "1234abcd8765";
28	algorithm hmac-sha256;
29};
30
31controls {
32	inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
33};
34
35zone "example.nil." IN {
36	type primary;
37	file "example.nil.db";
38
39	update-policy {
40		grant Administrator@EXAMPLE.NIL wildcard * A AAAA SRV CNAME;
41		grant testdenied@EXAMPLE.NIL wildcard * TXT;
42		grant "local:auth.sock" external * CNAME;
43	};
44
45	/* we need to use check-names ignore so _msdcs A records can be created */
46	check-names ignore;
47};
48