mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-21 14:17:27 -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.
16 lines
477 B
Text
16 lines
477 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.
|
|
*/
|
|
|
|
server 1.2.3.4 {
|
|
query-source 10.10.10.10;
|
|
};
|