(1) Typo in redirect router; (2) Update version number; (3) Update
[exim.git] / src / src / dns.c
index a5a154741aab2454185370f9af4d28f92ea78b4f..9e66396009adff308e7f8e448a13e1993354957e 100644 (file)
@@ -1,10 +1,10 @@
-/* $Cambridge: exim/src/src/dns.c,v 1.2 2004/11/19 09:45:54 ph10 Exp $ */
+/* $Cambridge: exim/src/src/dns.c,v 1.4 2005/01/04 10:00:42 ph10 Exp $ */
 
 /*************************************************
 *     Exim - an Internet mail transport agent    *
 *************************************************/
 
-/* Copyright (c) University of Cambridge 1995 - 2004 */
+/* Copyright (c) University of Cambridge 1995 - 2005 */
 /* See the file NOTICE for conditions of use and distribution. */
 
 /* Functions for interfacing with the DNS. */
@@ -650,6 +650,10 @@ dns_special_lookup(dns_answer *dnsa, uschar *name, int type,
 {
 if (type >= 0) return dns_lookup(dnsa, name, type, fully_qualified_name);
 
+/* The "mx hosts only" type doesn't require any special action here */
+
+if (type == T_MXH) return dns_lookup(dnsa, name, T_MX, fully_qualified_name);
+
 /* Find nameservers for the domain or the nearest enclosing zone, excluding the 
 root servers. */