Blame bin/tests/system/sortlist/ns1/named.conf.in
|
Packit Service |
ae04f2 |
/*
|
|
Packit Service |
ae04f2 |
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
Packit Service |
ae04f2 |
*
|
|
Packit Service |
ae04f2 |
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
Packit Service |
ae04f2 |
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
Packit Service |
ae04f2 |
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
Packit Service |
ae04f2 |
*
|
|
Packit Service |
ae04f2 |
* See the COPYRIGHT file distributed with this work for additional
|
|
Packit Service |
ae04f2 |
* information regarding copyright ownership.
|
|
Packit Service |
ae04f2 |
*/
|
|
Packit Service |
ae04f2 |
|
|
Packit Service |
ae04f2 |
options {
|
|
Packit Service |
ae04f2 |
query-source address 10.53.0.1;
|
|
Packit Service |
ae04f2 |
notify-source 10.53.0.1;
|
|
Packit Service |
ae04f2 |
transfer-source 10.53.0.1;
|
|
Packit Service |
ae04f2 |
port @PORT@;
|
|
Packit Service |
ae04f2 |
pid-file "named.pid";
|
|
Packit Service |
ae04f2 |
listen-on { 10.53.0.1; };
|
|
Packit Service |
ae04f2 |
listen-on-v6 { none; };
|
|
Packit Service |
ae04f2 |
recursion no;
|
|
Packit Service |
ae04f2 |
notify yes;
|
|
Packit Service |
ae04f2 |
|
|
Packit Service |
ae04f2 |
sortlist {
|
|
Packit Service |
ae04f2 |
{ 10.53.0.1; // IF 10.53.0.1
|
|
Packit Service |
ae04f2 |
{
|
|
Packit Service |
ae04f2 |
!1.1.1.4; !1.1.1.2; !1.1.1.3; !1.1.1.1; // sort these last,
|
|
Packit Service |
ae04f2 |
192.168.3/24; // this first
|
|
Packit Service |
ae04f2 |
{ 192.168.2/24; 192.168.1/24; }; }; }; // and these next
|
|
Packit Service |
ae04f2 |
{ { 10.53.0.2; 10.53.0.3; }; }; // Prefer self
|
|
Packit Service |
ae04f2 |
10.53.0.4; // BIND 8 compat
|
|
Packit Service |
ae04f2 |
{ 10.53.0.5; 10.53.0.5; }; // BIND 8 compat
|
|
Packit Service |
ae04f2 |
};
|
|
Packit Service |
ae04f2 |
};
|
|
Packit Service |
ae04f2 |
|
|
Packit Service |
ae04f2 |
zone "." {
|
|
Packit Service |
ae04f2 |
type master;
|
|
Packit Service |
ae04f2 |
file "root.db";
|
|
Packit Service |
ae04f2 |
};
|
|
Packit Service |
ae04f2 |
|
|
Packit Service |
ae04f2 |
zone "example" {
|
|
Packit Service |
ae04f2 |
type master;
|
|
Packit Service |
ae04f2 |
file "example.db";
|
|
Packit Service |
ae04f2 |
};
|