73eb75dc212911e4da58a3ce0a4672d3910193ebBrian Wellington/*
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Copyright (C) 2001, 2004, 2007, 2009, 2011, 2013, 2014, 2016 Internet Systems Consortium, Inc. ("ISC")
73eb75dc212911e4da58a3ce0a4672d3910193ebBrian Wellington *
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * This Source Code Form is subject to the terms of the Mozilla Public
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * License, v. 2.0. If a copy of the MPL was not distributed with this
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * file, You can obtain one at http://mozilla.org/MPL/2.0/.
73eb75dc212911e4da58a3ce0a4672d3910193ebBrian Wellington */
73eb75dc212911e4da58a3ce0a4672d3910193ebBrian Wellington
0b85ae70e9e7143ca4367fe06ead34b67282878fAutomatic Updater/* $Id: named.conf.in,v 1.10 2011/11/03 23:46:26 tbox Exp $ */
821644d49b73b49f2abc5463bc53a3132f612478Mark Andrews
821644d49b73b49f2abc5463bc53a3132f612478Mark Andrewscontrols { /* empty */ };
73eb75dc212911e4da58a3ce0a4672d3910193ebBrian Wellington
2f9db90bf69b4cdbabe2e574cd174ef2d3a2f12bBrian Wellingtonoptions {
2f9db90bf69b4cdbabe2e574cd174ef2d3a2f12bBrian Wellington query-source address 10.53.0.1;
2f9db90bf69b4cdbabe2e574cd174ef2d3a2f12bBrian Wellington notify-source 10.53.0.1;
2f9db90bf69b4cdbabe2e574cd174ef2d3a2f12bBrian Wellington transfer-source 10.53.0.1;
2f9db90bf69b4cdbabe2e574cd174ef2d3a2f12bBrian Wellington port 5300;
2f9db90bf69b4cdbabe2e574cd174ef2d3a2f12bBrian Wellington pid-file "named.pid";
2f9db90bf69b4cdbabe2e574cd174ef2d3a2f12bBrian Wellington listen-on { 10.53.0.1; };
2f9db90bf69b4cdbabe2e574cd174ef2d3a2f12bBrian Wellington listen-on-v6 { none; };
2f9db90bf69b4cdbabe2e574cd174ef2d3a2f12bBrian Wellington recursion no;
2f9db90bf69b4cdbabe2e574cd174ef2d3a2f12bBrian Wellington notify no;
2f9db90bf69b4cdbabe2e574cd174ef2d3a2f12bBrian Wellington tkey-domain "server";
2f9db90bf69b4cdbabe2e574cd174ef2d3a2f12bBrian Wellington tkey-dhkey "server" KEYID;
14810640b7f1409d8e9ed95342c2dc25ecf4c7ccMark Andrews allow-query-cache { any; };
d58e33bfabfee19a035031dac633d36659738d56Evan Hunt random-device "RANDFILE";
2f9db90bf69b4cdbabe2e574cd174ef2d3a2f12bBrian Wellington};
2f9db90bf69b4cdbabe2e574cd174ef2d3a2f12bBrian Wellington
6150d3cb666a58d5e3a15275562c9fc5c5b6b2d8Evan Huntkey rndc_key {
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews secret "1234abcd8765";
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews algorithm hmac-sha256;
6150d3cb666a58d5e3a15275562c9fc5c5b6b2d8Evan Hunt};
6150d3cb666a58d5e3a15275562c9fc5c5b6b2d8Evan Hunt
6150d3cb666a58d5e3a15275562c9fc5c5b6b2d8Evan Huntcontrols {
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews inet 10.53.0.1 port 9953 allow { any; } keys { rndc_key; };
6150d3cb666a58d5e3a15275562c9fc5c5b6b2d8Evan Hunt};
6150d3cb666a58d5e3a15275562c9fc5c5b6b2d8Evan Hunt
2f9db90bf69b4cdbabe2e574cd174ef2d3a2f12bBrian Wellingtonkey "tkeytest." {
2f9db90bf69b4cdbabe2e574cd174ef2d3a2f12bBrian Wellington algorithm hmac-md5;
2f9db90bf69b4cdbabe2e574cd174ef2d3a2f12bBrian Wellington secret "0123456789ab";
2f9db90bf69b4cdbabe2e574cd174ef2d3a2f12bBrian Wellington};
0b8bd3a4ae3efd91f88e8901323faf99b5b06136Evan Hunt
0b8bd3a4ae3efd91f88e8901323faf99b5b06136Evan Huntzone example {
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews type master;
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews file "example.db";
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews allow-query { key tkeytest.; none; };
0b8bd3a4ae3efd91f88e8901323faf99b5b06136Evan Hunt};