Add support in the fakens utility for TLSA records
[exim.git] / src / src / dns.c
index 6efb88d5843b4f96ee04cef42597b44644ce1ead..3d047abba11cbbbbe62ff8d60962b81b9830cfe1 100644 (file)
@@ -607,7 +607,7 @@ if (check_dns_names_pattern[0] != 0 && type != T_PTR && type != T_TXT)
   /* For an SRV lookup, skip over the first two components (the service and
   protocol names, which both start with an underscore). */
 
-  if (type == T_SRV)
+  if (type == T_SRV || type == T_TLSA)
     {
     while (*checkname++ != '.');
     while (*checkname++ != '.');