-$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.52 2004/12/21 12:00:59 ph10 Exp $
+$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.53 2004/12/21 12:21:46 ph10 Exp $
Change log file for Exim from version 4.21
-------------------------------------------
But simultaneously result of request was absolutely normal ldap result,
so I produce this patch..."
+55. Some experimental protocols are using DNS PTR records for new purposes. The
+ keys for these records are domain names, not reversed IP addresses. The
+ dnsdb lookup now tests whether it's key is an IP address. If not, it leaves
+ it alone. Component reversal etc. now happens only for IP addresses.
+
Exim version 4.43
-----------------
-$Cambridge: exim/doc/doc-txt/NewStuff,v 1.21 2004/12/20 15:24:27 ph10 Exp $
+$Cambridge: exim/doc/doc-txt/NewStuff,v 1.22 2004/12/21 12:21:46 ph10 Exp $
New Features in Exim
--------------------
19. The Exiscan patch is now merged into the main source. See src/EDITME for
parameters for the build.
+20. If the key for a dnsdb lookup is not an IP address, it is used verbatim,
+ without component reversal and without the addition of in-addr.arpa or
+ ip6.arpa.
+
Version 4.43
------------
-/* $Cambridge: exim/src/src/lookups/dnsdb.c,v 1.6 2004/12/20 15:24:28 ph10 Exp $ */
+/* $Cambridge: exim/src/src/lookups/dnsdb.c,v 1.7 2004/12/21 12:21:46 ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
int searchtype = (type == T_ZNS)? T_NS : /* record type we want */
(type == T_MXH)? T_MX : type;
- /* If the type is PTR, we have to construct the relevant magic lookup
- key. This code is now in a separate function. */
+ /* If the type is PTR, we have to construct the relevant magic lookup key if
+ the original is an IP address (some experimental protocols are using PTR
+ records for different purposes where the key string is a host name). This
+ code for doing the reversal is now in a separate function. */
- if (type == T_PTR)
+ if (type == T_PTR && string_is_ip_address(domain, NULL))
{
dns_build_reverse(domain, rbuffer);
domain = rbuffer;