xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/geoip2/ns2/named12.conf.in (revision a04395531661c5e8d314125d5ae77d4cbedd5d73)
1/*
2 * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
3 *
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 *
8 * See the COPYRIGHT file distributed with this work for additional
9 * information regarding copyright ownership.
10 */
11
12// NS2
13
14acl blocking {
15	geoip db country country AU;
16};
17
18options {
19	query-source address 10.53.0.2;
20	notify-source 10.53.0.2;
21	transfer-source 10.53.0.2;
22	port @PORT@;
23	pid-file "named.pid";
24	listen-on { 10.53.0.2; };
25	listen-on-v6 { fd92:7065:b8e:ffff::2; };
26	recursion no;
27	dnssec-validation no;
28	geoip-directory "../data";
29	blackhole { blocking; };
30};
31
32key rndc_key {
33	secret "1234abcd8765";
34	algorithm hmac-sha256;
35};
36
37controls {
38	inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
39};
40