diff options
| -rw-r--r-- | phpBB/includes/functions.php | 7 | 
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index e113a32a87..c878efcd6b 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -3689,8 +3689,13 @@ function phpbb_checkdnsrr($host, $type = 'MX')  				break;  				default: -				case 'A':  				case 'AAAA': +					if (stripos($line, "$host AAAA IPv6 address") === 0) +					{ +						return true; +					} +					//No break, newer versions of Windows output AAAA in the same way as the A records +				case 'A':  					if (!empty($host_matches))  					{  						// Second line  | 
