protected function checkDomain($value) { parent::checkDomain($value); if ($this->isValid()) { if (!checkdnsrr($value, "MX")) { $this->error('EMAIL_DNS'); } } }