Blame bin/tests/system/resolver/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 dscp 1;
Packit Service ae04f2
	notify-source 10.53.0.1 dscp 2;
Packit Service ae04f2
	transfer-source 10.53.0.1 dscp 3;
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 yes;
Packit Service ae04f2
	acache-enable yes;
Packit Service ae04f2
	deny-answer-addresses { 192.0.2.0/24; 2001:db8:beef::/48; }
Packit Service ae04f2
		 except-from { "example.org"; };
Packit Service ae04f2
	deny-answer-aliases { "example.org"; }
Packit Service ae04f2
		except-from { "goodcname.example.net";
Packit Service ae04f2
			      "gooddname.example.net"; };
Packit Service ae04f2
	allow-query {!10.53.0.8; any; };
Packit Service ae04f2
	max-zone-ttl unlimited;
Packit Service ae04f2
	attach-cache "globalcache";
Packit Service ae04f2
};
Packit Service ae04f2
Packit Service ae04f2
server 10.42.23.3/32 {
Packit Service ae04f2
     notify-source 10.42.22.1;
Packit Service ae04f2
     query-source address 10.42.22.1 port 0;
Packit Service ae04f2
     transfer-source 10.42.22.1;
Packit Service ae04f2
};
Packit Service ae04f2
Packit Service ae04f2
server fd92:7065:b8e:ffff::1000 {
Packit Service ae04f2
     notify-source-v6 fd92:7065:b8e:ffff::1001;
Packit Service ae04f2
     query-source-v6 address fd92:7065:b8e:ffff::1001 port 0;
Packit Service ae04f2
     transfer-source-v6 fd92:7065:b8e:ffff::1001;
Packit Service ae04f2
};
Packit Service ae04f2
Packit Service ae04f2
/*
Packit Service ae04f2
 * Must be first view so that there is a CH cache with name
Packit Service ae04f2
 * "globalcache" before the recursive "default"/IN view is configured.
Packit Service ae04f2
 */
Packit Service ae04f2
view "class" chaos {
Packit Service ae04f2
	match-clients { none; };
Packit Service ae04f2
};
Packit Service ae04f2
Packit Service ae04f2
/*
Packit Service ae04f2
 * Must be second view so that so that we can check we don't attach to the
Packit Service ae04f2
 * "globalcache"/CH cache.
Packit Service ae04f2
 */
Packit Service ae04f2
view "default" {
Packit Service ae04f2
	zone "." {
Packit Service ae04f2
		type hint;
Packit Service ae04f2
		file "root.hint";
Packit Service ae04f2
	};
Packit Service ae04f2
};