public function getWhoisServer($domain)
    {
        $domain = strtolower($domain);

        $tld = $this->getTld($domain);

        if (!isset($this->server[$tld])) {
            throw new UnknownTldException("$tld is not in the list of servers.");
        }

        return $this->server[$tld];
    }