protected function mx_query($domain)
        {
            $hosts = array();
            $weight = array();
            if (function_exists('getmxrr')) {
                getmxrr($domain, $hosts, $weight);
            } else {
                $this->getmxrr($domain, $hosts, $weight);
            }
            return array($hosts, $weight);
        }