DNS Transport services are controlled by a configuration block in the config.xml. This block affects SMTP remote delivery.
The dnsserver tag defines the boundaries of the configuration block. It encloses all the relevant configuration for the DNS server. The behavior of the DNS service is controlled by the attributes and children of this tag.
The standard children of the dnsserver tag are:
<servers> <server>127.0.0.1</server> <server>166.181.194.205</server> </servers>
This workaround will only be present if you use James as distributed. If you use James in any other container, including different versions of Phoenix, you will need to ensure that you make a similar configuration change to allow the internet address cache to perform acceptably.
James 2.3 has this workaround and it requires it to operate acceptably. Future versions of James will continue to have the workaround in place but will *not* require it. This will provide continued support for any mailets which you may deploy from other sources which might continue to use Sun's InetAddress class for DNS resolution.
We are not currently aware of the behaviour of this cache in other JVM implementations, nor of the effect, if any, which this change might have on them
For more on this read defect report JAMES-592 and related defects.