c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews/*
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Copyright (C) 2015, 2016 Internet Systems Consortium, Inc. ("ISC")
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews *
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/.
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews */
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrewskey rndc_key {
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews secret "1234abcd8765";
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews algorithm hmac-sha256;
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews};
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrewscontrols {
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews inet 10.53.0.3 port 9953 allow { any; } keys { rndc_key; };
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews};
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrewsoptions {
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews query-source address 10.53.0.3 dscp 1;
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews notify-source 10.53.0.3 dscp 2;
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews transfer-source 10.53.0.3 dscp 3;
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews port 5300;
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews pid-file "named.pid";
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews listen-on { 10.53.0.3; };
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews listen-on-v6 { none; };
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews recursion yes;
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews acache-enable yes;
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews deny-answer-addresses { 192.0.2.0/24; 2001:db8:beef::/48; }
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews except-from { "example.org"; };
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews deny-answer-aliases { "example.org"; }
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews except-from { "goodcname.example.net";
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews "gooddname.example.net"; };
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews allow-query {!10.53.0.8; any; };
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews send-cookie yes;
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews nocookie-udp-size 512;
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews require-server-cookie yes;
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews};
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrewszone "." {
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews type hint;
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews file "root.hint";
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews};
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrewszone "example" {
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews type master;
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews file "example.db";
c631ff56bfe13f7b47ff01950364f4db423bf21aMark Andrews};