501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt/*
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Copyright (C) 2013, 2016 Internet Systems Consortium, Inc. ("ISC")
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan 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/.
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt */
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt// NS2
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Huntcontrols { /* empty */ };
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Huntoptions {
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt query-source address 10.53.0.2;
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt notify-source 10.53.0.2;
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt transfer-source 10.53.0.2;
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt port 5300;
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt pid-file "named.pid";
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt listen-on { 10.53.0.2; };
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt listen-on-v6 { none; };
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt recursion no;
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt geoip-directory "../data";
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt};
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Huntkey rndc_key {
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt secret "1234abcd8765";
4eb998928b9aef0ceda42d7529980d658138698aEvan Hunt algorithm hmac-sha256;
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt};
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Huntcontrols {
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt inet 10.53.0.2 port 9953 allow { any; } keys { rndc_key; };
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt};
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Huntview one {
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews match-clients { geoip db region region "California"; };
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews zone "example" {
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews type master;
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews file "example1.db";
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews };
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt};
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Huntview two {
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews match-clients { geoip db region region "British Columbia"; };
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews zone "example" {
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews type master;
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews file "example2.db";
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews };
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt};
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Huntview three {
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews match-clients { geoip db region region "Oklahoma"; };
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews zone "example" {
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews type master;
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews file "example3.db";
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews };
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt};
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Huntview four {
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews match-clients { geoip db region country AU; };
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews zone "example" {
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews type master;
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews file "example4.db";
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews };
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt};
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Huntview five {
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews match-clients { geoip db region region "Colorado"; };
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews zone "example" {
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews type master;
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews file "example5.db";
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews };
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt};
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Huntview six {
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews match-clients { geoip db region region "Ontario"; };
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews zone "example" {
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews type master;
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews file "example6.db";
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews };
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt};
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Huntview seven {
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews match-clients { geoip db region country NL; };
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews zone "example" {
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews type master;
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews file "example7.db";
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews };
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt};
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Huntview none {
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews match-clients { any; };
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews zone "example" {
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews type master;
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews file "example.db.in";
2c089bf6d24936de631a57b4958ba6b8b5e3b23dMark Andrews };
501941f0b6cce74c2ff75b10aff3f230d5d37e4cEvan Hunt};