/* * Copyright (C) 2011-2014, 2016 Internet Systems Consortium, Inc. ("ISC") * * 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/. */ /* $Id: named.conf.in,v 1.3 2011/03/10 23:47:50 tbox Exp $ */ controls { }; options { query-source address 10.53.0.1; notify-source 10.53.0.1; transfer-source 10.53.0.1; port 5300; pid-file "named.pid"; session-keyfile "session.key"; listen-on { 10.53.0.1; 127.0.0.1; }; listen-on-v6 { none; }; recursion no; notify yes; }; key rndc_key { secret "1234abcd8765"; algorithm hmac-sha256; }; include "ddns.key"; controls { inet 10.53.0.1 port 9953 allow { any; } keys { rndc_key; }; }; dlz "example one" { database "dlopen ../driver.@SO@ example.nil"; }; dlz "example two" { database "dlopen ../driver.@SO@ alternate.nil"; }; dlz "unsearched1" { database "dlopen ../driver.@SO@ other.nil"; search no; }; dlz "unsearched2" { database "dlopen ../driver.@SO@ zone.nil"; search no; }; dlz redzone { database "dlopen ../driver.@SO@ ."; search no; }; zone zone.nil { type master; dlz unsearched2; }; zone "." { type redirect; dlz redzone; }; zone "." { type master; file "root.db"; };