named.conf revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt/*
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Copyright (C) 2012-2016 Internet Systems Consortium, Inc. ("ISC")
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt *
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/.
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt */
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt// NS1
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt
2855e2772342e369cc8962659beac7b3001b4ec6Evan Huntcontrols { /* empty */ };
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt
2855e2772342e369cc8962659beac7b3001b4ec6Evan Huntoptions {
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt query-source address 10.53.0.1;
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt notify-source 10.53.0.1;
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt transfer-source 10.53.0.1;
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt port 5300;
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt pid-file "named.pid";
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt listen-on { 10.53.0.1; };
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt listen-on-v6 { none; };
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt recursion no;
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt notify yes;
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt dnssec-enable yes;
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt dnssec-validation yes;
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt};
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt
2855e2772342e369cc8962659beac7b3001b4ec6Evan Huntkey rndc_key {
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews secret "1234abcd8765";
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews algorithm hmac-sha256;
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt};
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt
2855e2772342e369cc8962659beac7b3001b4ec6Evan Huntcontrols {
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews inet 10.53.0.1 port 9953 allow { any; } keys { rndc_key; };
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt};
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrewsview unused {
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews match-clients { none; };
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews zone "duplicate.example" {
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews type master;
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews file "duplicate.db";
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews };
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt};
2855e2772342e369cc8962659beac7b3001b4ec6Evan Hunt
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrewsview primary {
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews match-clients { any; };
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews zone "master.example" {
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews type master;
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews file "master.db";
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews allow-update { any; };
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews allow-transfer { any; };
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews auto-dnssec maintain;
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews };
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews
b4e114e3cd99b8875fc677a1a1c7c8257ef5a7a6Mukund Sivaraman zone "bigserial.example" {
b4e114e3cd99b8875fc677a1a1c7c8257ef5a7a6Mukund Sivaraman type master;
b4e114e3cd99b8875fc677a1a1c7c8257ef5a7a6Mukund Sivaraman file "bigserial.db";
b4e114e3cd99b8875fc677a1a1c7c8257ef5a7a6Mukund Sivaraman };
b4e114e3cd99b8875fc677a1a1c7c8257ef5a7a6Mukund Sivaraman
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews zone "reload.example" {
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews type master;
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews file "reload.db";
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews };
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews zone "duplicate.example" {
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews type master;
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews file "duplicate.db";
c38341ec435fb78de6d12c1001201f9ac7487b68Mark Andrews };
7d65cbaca0839ae23358dce26de426be1301657aMark Andrews};