Add a TCP only option to server/peer

This commit is contained in:
Francis Dupont
2014-12-02 14:17:59 +01:00
parent fc63119c8b
commit 5c5c6d289d
21 changed files with 409 additions and 11 deletions

View File

@@ -10438,6 +10438,7 @@ example.com CNAME rpz-tcp-only.
<optional> edns-version <replaceable>number</replaceable> ; </optional>
<optional> nosit-udp-size <replaceable>number</replaceable> ; </optional>
<optional> max-udp-size <replaceable>number</replaceable> ; </optional>
<optional> tcp-only <replaceable>yes_or_no</replaceable> ; </optional>
<optional> transfers <replaceable>number</replaceable> ; </optional>
<optional> transfer-format <replaceable>( one-answer | many-answers )</replaceable> ; ]</optional>
<optional> keys <replaceable>{ string ; <optional> string ; <optional>...</optional></optional> }</replaceable> ; </optional>
@@ -10600,6 +10601,13 @@ example.com CNAME rpz-tcp-only.
the response size.
</para>
<para>
The <command>tcp-only</command> option sets the transport
protocol to TCP. The default is to use the UDP transport
and to fallback on TCP only when a truncated response
is received.
</para>
<para>
The server supports two zone transfer methods. The first, <command>one-answer</command>,
uses one DNS message per resource record transferred. <command>many-answers</command> packs