xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/nsupdate/ns8/named.conf.in (revision 901e7e84758515fbf39dfc064cb0b45ab146d8b0)
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.8;
16	notify-source 10.53.0.8;
17	transfer-source 10.53.0.8;
18	port @PORT@;
19	pid-file "named.pid";
20	session-keyfile "session.key";
21	listen-on { 10.53.0.8; };
22	recursion no;
23	notify yes;
24	minimal-responses no;
25	tkey-gssapi-keytab "dns-other-than-KRB5_KTNAME.keytab";
26};
27
28key rndc_key {
29	secret "1234abcd8765";
30	algorithm hmac-sha256;
31};
32
33controls {
34	inet 10.53.0.8 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
35};
36
37zone "in-addr.arpa" {
38	type primary;
39	file "in-addr.db";
40	update-policy {	grant EXAMPLE.COM krb5-subdomain . PTR; };
41};
42
43zone "example.com" {
44	type primary;
45	file "example.com.db";
46	update-policy {
47		grant EXAMPLE.COM krb5-selfsub . ANY;
48		grant EXAMPLE.COM krb5-subdomain _tcp.example.com SRV;
49	};
50};
51