public function setDnsEntries($domainName, $dnsEntries)
    {
        foreach ($dnsEntries as $dnsEntry) {
            if (!$dnsEntry instanceof \Transip\Model\DnsEntry) {
                throw new \RuntimeException(sprintf('DnsEntry is not instance of %s', '\\Transip\\Model\\DnsEntry'));
            }
        }

        return $this->getSoapClient(array_merge(array($domainName, $dnsEntries), array('__method' => 'setDnsEntries')))->setDnsEntries($domainName, $dnsEntries);
    }