| 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 |
/* |
| 15 |
* ns1 is a resolver |
| 16 |
*/ |
| 17 |
|
| 18 |
options { |
| 19 |
pid-file "named.pid"; |
| 20 |
listen-on port @PORT@ { 10.53.0.1; }; |
| 21 |
recursion yes; |
| 22 |
}; |
| 23 |
|
| 24 |
key rndc_key { |
| 25 |
secret "1234abcd8765"; |
| 26 |
algorithm @DEFAULT_HMAC@; |
| 27 |
}; |
| 28 |
|
| 29 |
controls { |
| 30 |
inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; |
| 31 |
}; |
| 32 |
|