| 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 |
// NS1 |
| 15 |
|
| 16 |
options { |
| 17 |
query-source address 10.53.0.1; |
| 18 |
notify-source 10.53.0.1; |
| 19 |
transfer-source 10.53.0.1; |
| 20 |
port @PORT@; |
| 21 |
pid-file "named.pid"; |
| 22 |
listen-on { 10.53.0.1; }; |
| 23 |
listen-on-v6 { none; }; |
| 24 |
allow-transfer { any; }; |
| 25 |
recursion no; |
| 26 |
notify yes; |
| 27 |
dnssec-validation yes; |
| 28 |
}; |
| 29 |
|
| 30 |
key rndc_key { |
| 31 |
secret "1234abcd8765"; |
| 32 |
algorithm @DEFAULT_HMAC@; |
| 33 |
}; |
| 34 |
|
| 35 |
controls { |
| 36 |
inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; |
| 37 |
}; |
| 38 |
|
| 39 |
zone "." { |
| 40 |
type primary; |
| 41 |
file "root.db.signed"; |
| 42 |
allow-transfer { any; }; |
| 43 |
allow-update { any; }; |
| 44 |
allow-query { any; }; |
| 45 |
}; |
| 46 |
|
| 47 |
include "trusted.conf"; |