named.conf revision ac5ed748602c890d596bed07b0b23b8b5f42b2f6
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver/*
4ded8003e33ee5c9fbdde06630d6e0e50fe01797Tinderbox User * Copyright (C) 2012-2014 Internet Systems Consortium, Inc. ("ISC")
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver *
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver * Permission to use, copy, modify, and/or distribute this software for any
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver * purpose with or without fee is hereby granted, provided that the above
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver * copyright notice and this permission notice appear in all copies.
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver *
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver * PERFORMANCE OF THIS SOFTWARE.
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver */
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver
f97d56e757b9a293ffbaa915ca4d792ae84ba85aTinderbox User/* $Id$ */
f97d56e757b9a293ffbaa915ca4d792ae84ba85aTinderbox User
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver/*
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver * Test rpz performance.
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver */
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryveroptions {
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver query-source address 10.53.0.5;
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver notify-source 10.53.0.5;
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver transfer-source 10.53.0.5;
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver port 5300;
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver pid-file "named.pid";
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Hunt statistics-file "named.stats";
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver session-keyfile "session.key";
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver listen-on { 10.53.0.5; };
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver listen-on-v6 { none; };
06e0d6bb126e9986f29036e671b59f48b1d2efbcEvan Hunt ixfr-from-differences yes;
06e0d6bb126e9986f29036e671b59f48b1d2efbcEvan Hunt notify-delay 1;
06e0d6bb126e9986f29036e671b59f48b1d2efbcEvan Hunt notify yes;
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Hunt # turn rpz on or off
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver include "rpz-switch";
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver};
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryverkey rndc_key {
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver secret "1234abcd8765";
4eb998928b9aef0ceda42d7529980d658138698aEvan Hunt algorithm hmac-sha256;
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver};
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntcontrols {
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Hunt inet 10.53.0.5 port 9953 allow { any; } keys { rndc_key; };
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Hunt};
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryverinclude "../trusted.conf";
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryverzone "." {type hint; file "hints"; };
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntzone "tld5." {type master; file "tld5.db"; };
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntzone "example.tld5." {type master; file "example.db"; };
afaa290bb6acc504e93a0adbf20b6dd6c64e6d63Vernon Schryver
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntzone "bl0." {type master; file "bl.db"; };
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntzone "bl1." {type master; file "bl.db"; };
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntzone "bl2." {type master; file "bl.db"; };
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntzone "bl3." {type master; file "bl.db"; };
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntzone "bl4." {type master; file "bl.db"; };
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntzone "bl5." {type master; file "bl.db"; };
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntzone "bl6." {type master; file "bl.db"; };
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntzone "bl7." {type master; file "bl.db"; };
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntzone "bl8." {type master; file "bl.db"; };
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntzone "bl9." {type master; file "bl.db"; };
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntzone "bl10." {type master; file "bl.db"; };
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntzone "bl11." {type master; file "bl.db"; };
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntzone "bl12." {type master; file "bl.db"; };
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntzone "bl13." {type master; file "bl.db"; };
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntzone "bl14." {type master; file "bl.db"; };
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntzone "bl15." {type master; file "bl.db"; };
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntzone "bl16." {type master; file "bl.db"; };
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntzone "bl17." {type master; file "bl.db"; };
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntzone "bl18." {type master; file "bl.db"; };
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Huntzone "bl19." {type master; file "bl.db"; };
06e0d6bb126e9986f29036e671b59f48b1d2efbcEvan Hunt
06e0d6bb126e9986f29036e671b59f48b1d2efbcEvan Huntzone "policy1" {
06e0d6bb126e9986f29036e671b59f48b1d2efbcEvan Hunt type master;
06e0d6bb126e9986f29036e671b59f48b1d2efbcEvan Hunt file "empty.db";
06e0d6bb126e9986f29036e671b59f48b1d2efbcEvan Hunt also-notify { 10.53.0.6; };
06e0d6bb126e9986f29036e671b59f48b1d2efbcEvan Hunt allow-update { any; };
06e0d6bb126e9986f29036e671b59f48b1d2efbcEvan Hunt allow-transfer { any; };
06e0d6bb126e9986f29036e671b59f48b1d2efbcEvan Hunt};
ac5ed748602c890d596bed07b0b23b8b5f42b2f6Mark Andrews
ac5ed748602c890d596bed07b0b23b8b5f42b2f6Mark Andrewszone "policy2" {
ac5ed748602c890d596bed07b0b23b8b5f42b2f6Mark Andrews type master;
ac5ed748602c890d596bed07b0b23b8b5f42b2f6Mark Andrews file "policy2.db";
ac5ed748602c890d596bed07b0b23b8b5f42b2f6Mark Andrews allow-update { any; };
ac5ed748602c890d596bed07b0b23b8b5f42b2f6Mark Andrews allow-transfer { any; };
ac5ed748602c890d596bed07b0b23b8b5f42b2f6Mark Andrews};