2 Dec 2004 23:26
DNS Loop In Callout
Tim Wilde <twilde <at> dyndns.org>
2004-12-02 22:26:46 GMT
2004-12-02 22:26:46 GMT
I have run across a very strange DNS loop in a recipient callout
verification. I've looked through archives and done as much debugging as
I could without much luck. Basically, what is happening is, I have a
series of transports that are used to send messages to specific hosts on
specific ports. An example of one of these would be:
port_redir_smtp2525:
driver = smtp
hosts = $acl_m6
port = 2525
headers_remove = X-Scanner
interface = 63.208.196.165
connect_timeout = 2m
command_timeout = 2m
data_timeout = 2m
final_timeout = 5m
Where $acl_m6 contains a hostname. In my test case, that hostname is
"test.krellis.org". I have callout verification turned on in my recipient
ACL thusly:
require message = User unknown
verify = recipient/callout=5s,defer_ok/no_details
When test.krellis.org resolves to a single IP address, this works fine.
However, when test.krellis.org resolves to multiple IP addresses, I
encounter a never-ending DNS query loop. A -d+all session shows:
16:55:34 54758 ---0 Get 0x81ce888 32 dns.c 810
16:55:34 54758 ---0 Get 0x81ce8a8 32 dns.c 810
(Continue reading)
RSS Feed