From 748d8735f65a894dba83d7151d5dbd2147d09bae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arne=20J=C3=B8rgensen?= Date: Thu, 14 May 2020 10:51:08 +0200 Subject: [PATCH] Add DK handler --- src/whois.dk.php | 62 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 src/whois.dk.php diff --git a/src/whois.dk.php b/src/whois.dk.php new file mode 100644 index 0000000..7118246 --- /dev/null +++ b/src/whois.dk.php @@ -0,0 +1,62 @@ + 'Domain:', + 'domain.nserver.' => 'Hostname:', + 'domain.status' => 'Status:', + 'domain.desc.' => 'Descr:', + 'domain.registered' => 'Registered:', + 'domain.expires' => 'Expires:', + 'domain.registration_period' => 'Registration period:', + 'domain.VID' => 'VID:', + 'domain.DNSSEC' => 'DNSSEC:', + 'owner' => 'Name:', + 'admin' => '[Admin-C]', + 'tech' => '[Tech-C]', + 'zone' => '[Zone-C]' + ); + + $r['regrinfo'] = get_blocks($data_str['rawdata'], $items); + + $r['regyinfo'] = array( + 'registrar' => 'DK Hostmaster A/S', + 'referrer' => 'https://www.dk-hostmaster.dk/' + ); + + return $r; + } + }