mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-15 22:09:31 -04:00
The query-source option has the slight quirk of allowing the address to be specified in two ways, either as every other source option, or as an "address" key-value pair. For this reason, it had a separate parsing function from other X-source options, but it is possible to extend the parsing of other X-sources to be generic and also handle query-source. This commit just does that.
29 lines
834 B
Text
29 lines
834 B
Text
/*
|
|
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
*
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
|
|
*
|
|
* See the COPYRIGHT file distributed with this work for additional
|
|
* information regarding copyright ownership.
|
|
*/
|
|
|
|
tls test-tls {
|
|
protocols { TLSv1.2; };
|
|
ciphers "HIGH:!kRSA:!aNULL:!eNULL:!RC4:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!SHA1:!SHA256:!SHA384";
|
|
prefer-server-ciphers yes;
|
|
};
|
|
|
|
tls another-tls {
|
|
protocols { TLSv1.2; };
|
|
session-tickets no;
|
|
};
|
|
|
|
zone "example" {
|
|
type forward;
|
|
forward only;
|
|
forwarders port 5300 tls test-tls { 10.53.0.1; 10.53.0.2 port 5301 tls another-tls tls third-tls tls "fourth-tls"; };
|
|
};
|