INT-1822 Add Attribute to Suppress Reverse DNS Lokup

This commit is contained in:
Gary Russell
2011-03-04 18:53:51 -05:00
parent 5e02a7e63b
commit 9a5c26581b
22 changed files with 167 additions and 77 deletions

View File

@@ -123,6 +123,13 @@
check-length="true" />]]></programlisting>
A basic multicast inbound udp channel adapter.
</para>
<para>
By default, reverse DNS lookups are done on inbound packets to convert IP addresses to
hostnames for use in message headers.
In environments where DNS is not configured, this can cause delays.
This default behavior can be overridden by setting the <literal>lookup-host</literal>
attribute to "false".
</para>
</section>
<section id="connection-factories">
<title>TCP Connection Factories</title>
@@ -306,6 +313,13 @@
For full details of the attributes available on connection factories, see the
reference at the end of this section.
</para>
<para>
By default, reverse DNS lookups are done on inbound packets to convert IP addresses to
hostnames for use in message headers.
In environments where DNS is not configured, this can cause connection delays.
This default behavior can be overridden by setting the <literal>lookup-host</literal>
attribute to "false".
</para>
</section>
<section id="ip-interceptors">
<title>Tcp Connection Interceptors</title>
@@ -782,6 +796,16 @@
However, pool-size is also used for the server socket backlog,
regardless of whether an external task executor is used. Defaults to 5.</entry>
</row>
<row>
<entry>lookup-host</entry>
<entry>Y</entry>
<entry>Y</entry>
<entry>true, false</entry>
<entry>
Specifies whether reverse lookups are done on IP addresses to convert to host names
for use in message headers. If false, the IP address is used instead. Defaults to true.
</entry>
</row>
<row>
<entry>interceptor-factory-chain</entry>
<entry>Y</entry>
@@ -885,6 +909,14 @@
component, the MessagingException message containing the exception
and failed message is sent to this channel.</entry>
</row>
<row>
<entry>lookup-host</entry>
<entry>true, false</entry>
<entry>
Specifies whether reverse lookups are done on IP addresses to convert to host names
for use in message headers. If false, the IP address is used instead. Defaults to true.
</entry>
</row>
</tbody>
</tgroup>
</table>