Blame bin/tests/system/allow-query/ns2/named30.conf.in

Packit 5ce601
/*
Packit 5ce601
 * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
Packit 5ce601
 *
Packit 5ce601
 * This Source Code Form is subject to the terms of the Mozilla Public
Packit 5ce601
 * License, v. 2.0. If a copy of the MPL was not distributed with this
Packit Service 704ed8
 * file, you can obtain one at https://mozilla.org/MPL/2.0/.
Packit 5ce601
 *
Packit 5ce601
 * See the COPYRIGHT file distributed with this work for additional
Packit 5ce601
 * information regarding copyright ownership.
Packit 5ce601
 */
Packit 5ce601
Packit 5ce601
controls { /* empty */ };
Packit 5ce601
Packit 5ce601
key one {
Packit Service d3afd5
	algorithm hmac-md5;
Packit 5ce601
	secret "1234abcd8765";
Packit 5ce601
};
Packit 5ce601
Packit 5ce601
options {
Packit 5ce601
	port @PORT@;
Packit 5ce601
	pid-file "named.pid";
Packit 5ce601
	listen-on { 10.53.0.2; };
Packit 5ce601
	listen-on-v6 { none; };
Packit 5ce601
	recursion no;
Packit 5ce601
};
Packit 5ce601
Packit 5ce601
include "controls.conf";
Packit 5ce601
Packit 5ce601
view "internal" {
Packit 5ce601
Packit 5ce601
	allow-query { key one; };
Packit 5ce601
Packit 5ce601
	zone "." {
Packit 5ce601
		type hint;
Packit 5ce601
		file "../../common/root.hint";
Packit 5ce601
	};
Packit 5ce601
Packit 5ce601
	zone "normal.example" {
Packit 5ce601
		type master;
Packit 5ce601
		file "generic.db";
Packit 5ce601
	};
Packit 5ce601
};