rndc.conf 1.32 KB
Newer Older
David Lawrence's avatar
David Lawrence committed
1
/*
Tinderbox User's avatar
Tinderbox User committed
2
 * Copyright (C) 2004, 2007, 2013, 2014  Internet Systems Consortium, Inc. ("ISC")
Brian Wellington's avatar
Brian Wellington committed
3
 * Copyright (C) 2000, 2001  Internet Software Consortium.
4
 *
Automatic Updater's avatar
Automatic Updater committed
5
 * Permission to use, copy, modify, and/or distribute this software for any
David Lawrence's avatar
David Lawrence committed
6 7
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
8
 *
Mark Andrews's avatar
Mark Andrews committed
9 10 11 12 13 14 15
 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
 * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 * PERFORMANCE OF THIS SOFTWARE.
David Lawrence's avatar
David Lawrence committed
16 17
 */

18 19 20
/*
 * Sample rndc configuration file.
 */
David Lawrence's avatar
David Lawrence committed
21

David Lawrence's avatar
David Lawrence committed
22
options {
Mark Andrews's avatar
Mark Andrews committed
23 24
	default-server  localhost;
	default-key     "key";
David Lawrence's avatar
David Lawrence committed
25 26 27
};

server localhost {
Mark Andrews's avatar
Mark Andrews committed
28
	key     "key";
David Lawrence's avatar
David Lawrence committed
29 30
};

31
key "cc64b3d1db63fc88d7cb5d2f9f57d258" {
32
	algorithm hmac-sha256;
33 34 35 36
	secret "34f88008d07deabbe65bd01f1d233d47";
};

server "test1" {
Mark Andrews's avatar
Mark Andrews committed
37
	key "cc64b3d1db63fc88d7cb5d2f9f57d258";
38
	port 5353;
Mark Andrews's avatar
Mark Andrews committed
39
	addresses { 10.53.0.1; };
40 41
};

David Lawrence's avatar
David Lawrence committed
42
key "key" {
Mark Andrews's avatar
Mark Andrews committed
43 44
	algorithm       hmac-sha256;
	secret "c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K";
David Lawrence's avatar
David Lawrence committed
45
};