mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
alt-transfer-source-v4 -> alt-transfer-source
This commit is contained in:
parent
6ae4256646
commit
b500de3be9
2
CHANGES
2
CHANGES
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
1446. [func] Implemented undocumented alternate transfer sources
|
1446. [func] Implemented undocumented alternate transfer sources
|
||||||
from BIND 8. See use-alt-transfer-source,
|
from BIND 8. See use-alt-transfer-source,
|
||||||
alt-transfer-source-v4 and alt-transfer-source-v6.
|
alt-transfer-source and alt-transfer-source-v6.
|
||||||
|
|
||||||
SECURITY: use-alt-transfer-source is ENABLED unless
|
SECURITY: use-alt-transfer-source is ENABLED unless
|
||||||
you are using views. This may caues a security risk
|
you are using views. This may caues a security risk
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: config.c,v 1.40 2003/02/26 23:28:58 marka Exp $ */
|
/* $Id: config.c,v 1.41 2003/02/27 05:12:47 marka Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@ -136,7 +136,7 @@ options {\n\
|
|||||||
# max-ixfr-log-size <obsolete>\n\
|
# max-ixfr-log-size <obsolete>\n\
|
||||||
transfer-source *;\n\
|
transfer-source *;\n\
|
||||||
transfer-source-v6 *;\n\
|
transfer-source-v6 *;\n\
|
||||||
alt-transfer-source-v4 *;\n\
|
alt-transfer-source *;\n\
|
||||||
alt-transfer-source-v6 *;\n\
|
alt-transfer-source-v6 *;\n\
|
||||||
max-transfer-time-in 120;\n\
|
max-transfer-time-in 120;\n\
|
||||||
max-transfer-time-out 120;\n\
|
max-transfer-time-out 120;\n\
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: zoneconf.c,v 1.105 2003/02/26 23:28:58 marka Exp $ */
|
/* $Id: zoneconf.c,v 1.106 2003/02/27 05:12:47 marka Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@ -632,7 +632,7 @@ ns_zone_configure(cfg_obj_t *config, cfg_obj_t *vconfig, cfg_obj_t *zconfig,
|
|||||||
RETERR(dns_zone_setxfrsource6(zone, cfg_obj_assockaddr(obj)));
|
RETERR(dns_zone_setxfrsource6(zone, cfg_obj_assockaddr(obj)));
|
||||||
|
|
||||||
obj = NULL;
|
obj = NULL;
|
||||||
result = ns_config_get(maps, "alt-transfer-source-v4", &obj);
|
result = ns_config_get(maps, "alt-transfer-source", &obj);
|
||||||
INSIST(result == ISC_R_SUCCESS);
|
INSIST(result == ISC_R_SUCCESS);
|
||||||
RETERR(dns_zone_setaltxfrsource4(zone, cfg_obj_assockaddr(obj)));
|
RETERR(dns_zone_setaltxfrsource4(zone, cfg_obj_assockaddr(obj)));
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.0//EN"
|
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.0//EN"
|
||||||
"http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd">
|
"http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd">
|
||||||
|
|
||||||
<!-- File: $Id: Bv9ARM-book.xml,v 1.218 2003/02/26 23:28:58 marka Exp $ -->
|
<!-- File: $Id: Bv9ARM-book.xml,v 1.219 2003/02/27 05:12:46 marka Exp $ -->
|
||||||
|
|
||||||
<book>
|
<book>
|
||||||
<title>BIND 9 Administrator Reference Manual</title>
|
<title>BIND 9 Administrator Reference Manual</title>
|
||||||
@ -2764,7 +2764,7 @@ statement in the <filename>named.conf</filename> file:</para>
|
|||||||
<optional> transfers-per-ns <replaceable>number</replaceable>; </optional>
|
<optional> transfers-per-ns <replaceable>number</replaceable>; </optional>
|
||||||
<optional> transfer-source (<replaceable>ip4_addr</replaceable> | <constant>*</constant>) <optional>port <replaceable>ip_port</replaceable></optional> ; </optional>
|
<optional> transfer-source (<replaceable>ip4_addr</replaceable> | <constant>*</constant>) <optional>port <replaceable>ip_port</replaceable></optional> ; </optional>
|
||||||
<optional> transfer-source-v6 (<replaceable>ip6_addr</replaceable> | <constant>*</constant>) <optional>port <replaceable>ip_port</replaceable></optional> ; </optional>
|
<optional> transfer-source-v6 (<replaceable>ip6_addr</replaceable> | <constant>*</constant>) <optional>port <replaceable>ip_port</replaceable></optional> ; </optional>
|
||||||
<optional> alt-transfer-source-v4 (<replaceable>ip4_addr</replaceable> | <constant>*</constant>) <optional>port <replaceable>ip_port</replaceable></optional> ; </optional>
|
<optional> alt-transfer-source (<replaceable>ip4_addr</replaceable> | <constant>*</constant>) <optional>port <replaceable>ip_port</replaceable></optional> ; </optional>
|
||||||
<optional> alt-transfer-source-v6 (<replaceable>ip6_addr</replaceable> | <constant>*</constant>) <optional>port <replaceable>ip_port</replaceable></optional> ; </optional>
|
<optional> alt-transfer-source-v6 (<replaceable>ip6_addr</replaceable> | <constant>*</constant>) <optional>port <replaceable>ip_port</replaceable></optional> ; </optional>
|
||||||
<optional> use-alt-transfer-source <replaceable>yes_or_no</replaceable>; </optional>
|
<optional> use-alt-transfer-source <replaceable>yes_or_no</replaceable>; </optional>
|
||||||
<optional> notify-source (<replaceable>ip4_addr</replaceable> | <constant>*</constant>) <optional>port <replaceable>ip_port</replaceable></optional> ; </optional>
|
<optional> notify-source (<replaceable>ip4_addr</replaceable> | <constant>*</constant>) <optional>port <replaceable>ip_port</replaceable></optional> ; </optional>
|
||||||
@ -3623,7 +3623,7 @@ in the configuration file.</para>
|
|||||||
except zone transfers are performed using IPv6.</para>
|
except zone transfers are performed using IPv6.</para>
|
||||||
</listitem></varlistentry>
|
</listitem></varlistentry>
|
||||||
|
|
||||||
<varlistentry><term><command>alt-transfer-source-v4</command></term>
|
<varlistentry><term><command>alt-transfer-source</command></term>
|
||||||
<listitem><para>An alternate transfer source if the one listed in
|
<listitem><para>An alternate transfer source if the one listed in
|
||||||
<command>transfer-source</command> fails and
|
<command>transfer-source</command> fails and
|
||||||
<command>use-alt-transfer-source</command> is set.</para>
|
<command>use-alt-transfer-source</command> is set.</para>
|
||||||
@ -4454,7 +4454,7 @@ Statement Grammar</title>
|
|||||||
<optional> pubkey <replaceable>number</replaceable> <replaceable>number</replaceable> <replaceable>number</replaceable> <replaceable>string</replaceable> ; </optional>
|
<optional> pubkey <replaceable>number</replaceable> <replaceable>number</replaceable> <replaceable>number</replaceable> <replaceable>string</replaceable> ; </optional>
|
||||||
<optional> transfer-source (<replaceable>ip4_addr</replaceable> | <constant>*</constant>) <optional>port <replaceable>ip_port</replaceable></optional> ; </optional>
|
<optional> transfer-source (<replaceable>ip4_addr</replaceable> | <constant>*</constant>) <optional>port <replaceable>ip_port</replaceable></optional> ; </optional>
|
||||||
<optional> transfer-source-v6 (<replaceable>ip6_addr</replaceable> | <constant>*</constant>) <optional>port <replaceable>ip_port</replaceable></optional> ; </optional>
|
<optional> transfer-source-v6 (<replaceable>ip6_addr</replaceable> | <constant>*</constant>) <optional>port <replaceable>ip_port</replaceable></optional> ; </optional>
|
||||||
<optional> alt-transfer-source-v4 (<replaceable>ip4_addr</replaceable> | <constant>*</constant>) <optional>port <replaceable>ip_port</replaceable></optional> ; </optional>
|
<optional> alt-transfer-source (<replaceable>ip4_addr</replaceable> | <constant>*</constant>) <optional>port <replaceable>ip_port</replaceable></optional> ; </optional>
|
||||||
<optional> alt-transfer-source-v6 (<replaceable>ip6_addr</replaceable> | <constant>*</constant>) <optional>port <replaceable>ip_port</replaceable></optional> ; </optional>
|
<optional> alt-transfer-source-v6 (<replaceable>ip6_addr</replaceable> | <constant>*</constant>) <optional>port <replaceable>ip_port</replaceable></optional> ; </optional>
|
||||||
<optional> use-alt-transfer-source <replaceable>yes_or_no</replaceable>; </optional>
|
<optional> use-alt-transfer-source <replaceable>yes_or_no</replaceable>; </optional>
|
||||||
<optional> notify-source (<replaceable>ip4_addr</replaceable> | <constant>*</constant>) <optional>port <replaceable>ip_port</replaceable></optional> ; </optional>
|
<optional> notify-source (<replaceable>ip4_addr</replaceable> | <constant>*</constant>) <optional>port <replaceable>ip_port</replaceable></optional> ; </optional>
|
||||||
@ -4744,9 +4744,9 @@ information for this zone, which can be dumped to the
|
|||||||
</para>
|
</para>
|
||||||
</listitem></varlistentry>
|
</listitem></varlistentry>
|
||||||
|
|
||||||
<varlistentry><term><command>alt-transfer-source-v4</command></term>
|
<varlistentry><term><command>alt-transfer-source</command></term>
|
||||||
<listitem><para>See the description of
|
<listitem><para>See the description of
|
||||||
<command>alt-transfer-source-v4</command> in <xref linkend="zone_transfers"/>
|
<command>alt-transfer-source</command> in <xref linkend="zone_transfers"/>
|
||||||
</para>
|
</para>
|
||||||
</listitem></varlistentry>
|
</listitem></varlistentry>
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: namedconf.c,v 1.19 2003/02/26 23:29:00 marka Exp $ */
|
/* $Id: namedconf.c,v 1.20 2003/02/27 05:12:45 marka Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@ -696,7 +696,7 @@ zone_clauses[] = {
|
|||||||
{ "sig-validity-interval", &cfg_type_uint32, 0 },
|
{ "sig-validity-interval", &cfg_type_uint32, 0 },
|
||||||
{ "transfer-source", &cfg_type_sockaddr4wild, 0 },
|
{ "transfer-source", &cfg_type_sockaddr4wild, 0 },
|
||||||
{ "transfer-source-v6", &cfg_type_sockaddr6wild, 0 },
|
{ "transfer-source-v6", &cfg_type_sockaddr6wild, 0 },
|
||||||
{ "alt-transfer-source-v4", &cfg_type_sockaddr4wild, 0 },
|
{ "alt-transfer-source", &cfg_type_sockaddr4wild, 0 },
|
||||||
{ "alt-transfer-source-v6", &cfg_type_sockaddr6wild, 0 },
|
{ "alt-transfer-source-v6", &cfg_type_sockaddr6wild, 0 },
|
||||||
{ "use-alt-transfer-source", &cfg_type_boolean, 0 },
|
{ "use-alt-transfer-source", &cfg_type_boolean, 0 },
|
||||||
{ "zone-statistics", &cfg_type_boolean, 0 },
|
{ "zone-statistics", &cfg_type_boolean, 0 },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user