protected function saveDnsRecord($domain, $record)
    {
        $this->sortArray($record);

        try {
            History::create(['type' => 'dns',
                             'meta' => $domain,
                             'record' => $this->utf8_converter($record)]);
        } catch (Exception $e) {
            $this->eye->logger()->error('DNS record save failed', $e, $domain);
            throw $e;
        }
    }