src/Util/Validator.php
protected function validateEmailDNS($field, $value)
    {
        if ($this->validateEmail($field, $value)) {
            $domain = \ltrim(\strstr($value, '@'), '@') . '.';
            if (\defined('INTL_IDNA_VARIANT_UTS46') && \function_exists('\idn_to_ascii')) {
                $domain = \idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46);
            }

            return \checkdnsrr($domain, 'ANY');
        }

        return false;
    }
protected function validateEmailDNS($field, $value)
    {
        if ($this->validateEmail($field, $value)) {
            $domain = \ltrim(\strstr($value, '@'), '@') . '.';
            if (\defined('INTL_IDNA_VARIANT_UTS46') && \function_exists('\idn_to_ascii')) {
                $domain = \idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46);
            }

            return \checkdnsrr($domain, 'ANY');
        }

        return false;
    }
protected function validateEmailDNS ( $ field , $ value ) { if ( $ this -> validateEmail ( $ field , $ value ) ) { $ domain = \ ltrim ( \ strstr ( $ value , '@' ) , '@' ) . '.' ; if ( \ defined ( 'INTL_IDNA_VARIANT_UTS46' ) && \ function_exists ( '\idn_to_ascii' ) ) { $ domain = \ idn_to_ascii ( $ domain , 0 , INTL_IDNA_VARIANT_UTS46 ) ; } return \ checkdnsrr ( $ domain , 'ANY' ) ; } return false ; }
Validate that a field is a valid e-mail address and the domain name is active

@param  string $field
@param  mixed  $value

@return bool
Validate that a field is a valid e - mail address and the domain name is active