named.conf 1.39 KB
Newer Older
1
/*
2
 * Copyright (C) 2004, 2006, 2007, 2011, 2013, 2016  Internet Systems Consortium, Inc. ("ISC")
3
 *
4 5 6
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 8
 */

Automatic Updater's avatar
Automatic Updater committed
9
/* $Id: named.conf,v 1.10 2011/05/26 23:47:28 tbox Exp $ */
10 11 12 13 14 15 16 17

/*
 * Choose a keyname that is unlikely to clash with any real key names.
 * This allows it to be added to the system's rndc.conf with minimal
 * likelyhood of collision.
 *
 * e.g.
 *	key "cc64b3d1db63fc88d7cb5d2f9f57d258" {
18
 *		algorithm hmac-sha256;
19
 *		secret "34f88008d07deabbe65bd01f1d233d47";
Mark Andrews's avatar
Mark Andrews committed
20
 *	};
21 22 23 24 25 26 27 28 29 30
 *
 *	server "10.53.0.5" {
 *	 	key cc64b3d1db63fc88d7cb5d2f9f57d258;
 *		port 5353;
 *	};
 *
 *	rndc -s 10.53.0.5 <command>
 */

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

controls {
	inet 10.53.0.5 port 5353 allow { any; }
		keys { cc64b3d1db63fc88d7cb5d2f9f57d258; };
};

include "trusted.conf";
41
include "trusted-dlv.conf";
42 43 44 45 46 47 48 49 50 51 52 53

options {
	query-source address 10.53.0.5;
	notify-source 10.53.0.5;
	transfer-source 10.53.0.5;
	port 5300;
	pid-file "named.pid";
	listen-on { 10.53.0.5; };
	listen-on-v6 { none; };
	recursion yes;
	notify yes;
	dnssec-enable yes;
54
	dnssec-validation yes;
55
	dnssec-lookaside "." trust-anchor "dlv.utld";
56 57 58
};

zone "." { type hint; file "hints"; };