public static function hasRecordType($hostName, $type = RecordType::ANY) { return checkdnsrr($hostName, RecordType::getName($type)); }