1279377Simp/*
2279377Simp * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
3279377Simp *
4279377Simp * SPDX-License-Identifier: MPL-2.0
5279377Simp *
6279377Simp * This Source Code Form is subject to the terms of the Mozilla Public
7279377Simp * License, v. 2.0.  If a copy of the MPL was not distributed with this
8279377Simp * file, you can obtain one at https://mozilla.org/MPL/2.0/.
9279377Simp *
10279377Simp * See the COPYRIGHT file distributed with this work for additional
11279377Simp * information regarding copyright ownership.
12279377Simp */
13279377Simp
14279377Simpkey rndc_key {
15279377Simp	secret "1234abcd8765";
16279377Simp	algorithm @DEFAULT_HMAC@;
17279377Simp};
18279377Simp
19279377Simpkey foo {
20279377Simp	secret "aaaaaaaaaaaa";
21279377Simp	algorithm hmac-sha256;
22279377Simp};
23279377Simp
24279377Simpserver 10.53.0.10 {
25279377Simp	keys foo;
26279377Simp};
27279377Simp
28279377Simpcontrols {
29279377Simp	inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
30279377Simp};
31279377Simp
32279377Simpoptions {
33279377Simp	query-source address 10.53.0.1;
34279377Simp	notify-source 10.53.0.1;
35279377Simp	transfer-source 10.53.0.1;
36279377Simp	port @PORT@;
37279377Simp	pid-file "named.pid";
38279377Simp	listen-on { 10.53.0.1; };
39279377Simp	listen-on-v6 { none; };
40279377Simp	recursion yes;
41279377Simp	dnssec-validation yes;
42279377Simp	deny-answer-addresses { 192.0.2.0/24; 2001:db8:beef::/48; }
43279377Simp		 except-from { "example.org"; };
44279377Simp	deny-answer-aliases { "example.org"; }
45279377Simp		except-from { "goodcname.example.net";
46279377Simp			      "gooddname.example.net"; };
47279377Simp	allow-query {!10.53.0.8; any; };
48279377Simp	send-cookie yes;
49279377Simp	nocookie-udp-size 512;
50279377Simp};
51279377Simp
52279377Simpzone "." {
53279377Simp	type hint;
54279377Simp	file "root.hint";
55279377Simp};
56279377Simp
57279377Simpzone "example" {
58279377Simp	type primary;
59279377Simp	file "example.db";
60279377Simp};
61279377Simp