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 * Sample rndc configuration file. 16 */ 17 18options { 19 default-server localhost; 20 default-key "key"; 21}; 22 23server localhost { 24 key "key"; 25}; 26 27key "cc64b3d1db63fc88d7cb5d2f9f57d258" { 28 algorithm hmac-sha256; 29 secret "34f88008d07deabbe65bd01f1d233d47"; 30}; 31 32server "test1" { 33 key "cc64b3d1db63fc88d7cb5d2f9f57d258"; 34 port 5353; 35 addresses { 10.53.0.1; }; 36}; 37 38key "key" { 39 algorithm hmac-sha256; 40 secret "c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K"; 41}; 42