From 87dcafd02c238c05200355ea64189a4fc72c6162 Mon Sep 17 00:00:00 2001 From: sparc Date: Thu, 22 Jul 2010 07:54:38 +0000 Subject: [PATCH] dnssec info --- Changes.md | 3 +++ Handlers.md | 1 + src/whois.ch.php | 3 ++- testsuite.php | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Changes.md b/Changes.md index 36c5c31..43ef317 100644 --- a/Changes.md +++ b/Changes.md @@ -1,3 +1,6 @@ +2010/07/21 + - added dnssec info to domain object + 2010/07/20 - fixed arin new query format - better ip refferal whois follow-up diff --git a/Handlers.md b/Handlers.md index c2ff029..0c2c2e8 100644 --- a/Handlers.md +++ b/Handlers.md @@ -57,6 +57,7 @@ the following subkeys: referer -> sponsor's URL handle -> domain handle source -> who gives this information + dnssec -> domains has dnssec (boolean) network ------- diff --git a/src/whois.ch.php b/src/whois.ch.php index 698cda5..93d0f17 100644 --- a/src/whois.ch.php +++ b/src/whois.ch.php @@ -49,7 +49,8 @@ class ch_handler 'domain.created' => 'Date of last registration:', 'domain.changed' => 'Date of last modification:', 'tech' => 'Technical contact:', - 'domain.nserver' => 'Name servers:' + 'domain.nserver' => 'Name servers:', + 'domain.dnssec' => 'DNSSEC:' ); $r['regrinfo'] = get_blocks($data_str['rawdata'], $items); diff --git a/testsuite.php b/testsuite.php index 7e640d1..36c9e99 100755 --- a/testsuite.php +++ b/testsuite.php @@ -74,7 +74,7 @@ foreach ($domains as $key => $domain) $result = $whois->Lookup($domain); unset($result['rawdata']); - print_r($result); + if (!isset($results[$domain])) { print_r($result);