| 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 |
|
| 14 |
include "../../_common/rndc.key"; |
| 15 |
|
| 16 |
controls { |
| 17 |
inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; |
| 18 |
}; |
| 19 |
|
| 20 |
tls self-signed { |
| 21 |
cert-file "../self-signed-cert.pem"; |
| 22 |
key-file "../self-signed-key.pem"; |
| 23 |
}; |
| 24 |
|
| 25 |
options { |
| 26 |
pid-file "named.pid"; |
| 27 |
## |
| 28 |
# generic |
| 29 |
listen-on port @PORT@ { 10.53.0.1; }; |
| 30 |
# test TLS |
| 31 |
listen-on port @EXTRAPORT1@ proxy encrypted tls self-signed { 10.53.0.1; }; |
| 32 |
listen-on-v6 port @EXTRAPORT1@ proxy encrypted tls self-signed { fd92:7065:b8e:ffff::1; }; |
| 33 |
## |
| 34 |
recursion no; |
| 35 |
notify explicit; |
| 36 |
statistics-file "named.stats"; |
| 37 |
dnssec-validation yes; |
| 38 |
tcp-initial-timeout 1200; |
| 39 |
allow-proxy { any; }; |
| 40 |
allow-proxy-on { 10.53.0.1; fd92:7065:b8e:ffff::1; }; |
| 41 |
}; |
| 42 |
|
| 43 |
trust-anchors { }; |
| 44 |
|
| 45 |
zone "example" { |
| 46 |
type primary; |
| 47 |
file "example.db"; |
| 48 |
allow-transfer { any; }; |
| 49 |
}; |