named.conf 1.34 KB
Newer Older
1
/*
Brian Wellington's avatar
Brian Wellington committed
2
 * Copyright (C) 2000, 2001  Internet Software Consortium.
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
 *
 * Permission to use, copy, modify, and distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
 * INTERNET SOFTWARE CONSORTIUM 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.
 */

18
/* $Id: named.conf,v 1.7 2004/03/02 02:01:34 marka Exp $ */
19 20 21 22 23 24

key "update.example." {
	algorithm "hmac-md5";
	secret "c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K";
};

25 26
controls { /* empty */ };

27 28
options {
	query-source address 10.53.0.1;
29
	notify-source 10.53.0.1;
30
	transfer-source 10.53.0.1;
31 32 33
	port 5300;
	pid-file "named.pid";
	listen-on { 10.53.0.1; };
34
	listen-on-v6 { none; };
35 36 37 38 39 40 41
	recursion yes;
	notify yes;
};

zone "example" {
	type master;
	file "example.db";
42
	allow-update { key update.example.; 10.53.0.3; };
43
};