From 419fe8a7818856bcc6badb4e8d601f0e01f31f5c Mon Sep 17 00:00:00 2001 From: Marcello Coutinho Date: Thu, 12 Dec 2013 11:01:39 -0200 Subject: bind - fix final . check for ipv6 addresses. --- config/bind/bind.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/bind') diff --git a/config/bind/bind.inc b/config/bind/bind.inc index 146632c9..8f439d1a 100644 --- a/config/bind/bind.inc +++ b/config/bind/bind.inc @@ -432,7 +432,7 @@ EOD; $hostname = (preg_match("/(MX|NS)/",$zone['row'][$y]['hosttype'])?"@":$zone['row'][$y]['hostname']); $hosttype = $zone['row'][$y]['hosttype']; $hostdst = $zone['row'][$y]['hostdst']; - if (preg_match("/[a-zA-Z]/",$hostdst) && !preg_match("/(TXT|SPF)/",$hosttype)) + if (preg_match("/[a-zA-Z]/",$hostdst) && !preg_match("/(TXT|SPF|AAAA)/",$hosttype)) $hostdst .= "."; $hostvalue = $zone['row'][$y]['hostvalue']; -- cgit v1.2.3