Coder Social home page Coder Social logo

phpwhois's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

phpwhois's Issues

Can't install

Problem 1
- The requested package jsmitty12/phpwhois No version set (parsed as 1.0.0) is satisfiable by jsmitty12/phpwhois[No version set (parsed as 1.0.0)] but these conflict with your requirements or minimum-stability.

.co.uk is returning wrong date format

google.co.uk is returning:
[created] => 24-Feb-2001
[expires] => 24-Feb-2019
[changed] => 23-Feb-2018

it should be:
[created] => 2001-02-24
[expires] => 2019-02-24
[changed] => 2018-02-23

There is a unit test for .uk but not for .co.uk

I can't spot the bug

some IPs' parsing output are inconsistent with most others

output of 207.237.77.123 has excessive numeric keys:

^ array:3 [
  "regrinfo" => array:5 [
    ....
    "network" => array:2 [
      0 => array:7 [
        "inetnum" => "207.237.0.0 - 207.237.255.255"
        "name" => "RCN-BLK-13"
        "handle" => "NET-207-237-0-0-1"
        "status" => "Direct Allocation"
        "created" => "2013-07-09"
        "changed" => "2017-01-28"
        "desc" => array:1 [
          0 => "For all abuse issues, please contact [email protected]"
        ]
      ]
      1 => array:5 [
        "handle" => "RCN-BLK-13"
        "name" => "RCN-BLK-13"
        "inetnum" => "207.237.0.0 - 207.237.255.255"
        "created" => "-- ::"
        "changed" => "-- ::"
      ]
    ]
    ....

Code cleanup

The project is suffering from a really bloated codebase. It should be cleaned up.

This includes having namespaces added (to not pollute the global scope with functions) and have correct access modifiers to internal methods and variables.

PHP 8 support

PHP 8 is here, can you add its support in composer.json file ?

Release v6.2.0 - PHP >= 7.2 (including 8.x)

Dear all,

I wanted to notify that I release the version v6.2.0 packagist: kevinoo/phpwhois.

Include a lot of improvements 😄

Improvements

  • [#92] Infinite Loop - Possible final resolution of hell problem
  • [#33] Add more patterns in AbstractHandler::parseStandardDate method
  • [#33] Less duplicated code in FrHandler class
  • [#33] Fixed version of "phpunit/phpunit" in composer.json
  • [#33] Update Tests
  • Update "fixtures" files
  • [#33] Clean up Tests folder
  • [#33] Update ParserTest
  • [#33] Rename HandlerTestTest in AbstractHandler (to solve PHPUnit warning)
  • [#33] In UnitTest, throw UnexpectedValueException when a no parsable date is found
  • [#33] Minor fixed in IpTools.php
  • [#33] Clean up code AbstractHandler.php
  • [#33] Clean up code in AeHandler.php
  • [#33] Use Handlers class instead file whois.[tld].php
  • [#33] Use CzHandler instead whois.cz.php
  • [#33] Use ZanetHandler instead whois.zanet.php
  • [#33] Use XxxHandler instead whois.xxx.php
  • [#33] Use WsHandler instead whois.ws.php
  • [#33] Use VeHandler instead whois.ve.php
  • [#33] Use UsHandler instead whois.us.php
  • [#33] Use TodayHandler instead whois.today.php
  • [#33] Use TodayHandler instead whois.today.php
  • [#33] Use TelHandler instead whois.tel.php
  • [#33] Use SuHandler instead whois.su.php
  • [#33] Use SiHandler instead whois.si.php
  • [#33] Use SeHandler instead whois.se.php
  • [#33] Use ScHandler instead whois.sc.php
  • [#33] Use RwhoisHandler instead whois.rwhois.php
  • [#33] Use RuHandler instead whois.ru.php
  • [#33] Use RoHandler instead whois.ro.php
  • [#33] Use PtHandler instead whois.pt.php
  • [#33] Use ProHandler instead whois.pro.php
  • [#33] Use PlHandler instead whois.pl.php
  • [#33] Use PhHandler instead whois.ph.php
  • [#33] Use OrgHandler instead whois.org.php
  • [#33] Use NuHandler instead whois.nu.php
  • [#33] Use NoHandler instead whois.no.php
  • [#33] Use EuHandler instead whois.eu.php
  • [#33] Use DeHandler instead whois.de.php
  • [#33] Use FiHandler instead whois.fi.php
  • [#33] Use NlHandler instead whois.nl.php
  • [#33] Use MxHandler instead whois.mx.php
  • [#33] Use MuseumHandler instead whois.museum.php
  • [#33] Use MobiHandler instead whois.mobi.php
  • [#33] Use MeHandler instead whois.me.php
  • [#33] Use LyHandler instead whois.ly.php
  • [#33] Use LuHandler instead whois.lu.php
  • [#33] Use LtHandler instead whois.lt.php
  • [#33] Use FjHandler instead whois.fj.php
  • [#33] Use LondonHandler instead whois.london.php
  • [#33] Use JpHandler instead whois.jp.php
  • [#33] Use ItHandler instead whois.it.php
  • [#33] Use IsHandler instead whois.is.php
  • [#33] Use IrHandler instead whois.ir.php
  • [#33] Use IpHandler instead whois.ip.php
  • [#33] Use IntHandler instead whois.int.php
  • [#33] Use InHandler instead whois.in.php
  • [#33] Use InfoHandler instead whois.info.php
  • [#33] Use IlHandler instead whois.il.php
  • [#33] Use IeHandler instead whois.ie.php
  • [#33] Use HuHandler instead whois.hu.php
  • [#33] Use FrHandler instead whois.fr.php
  • [#33] Use FmHandler instead whois.fm.php
  • [#33] Use CoopHandler instead whois.coop.php
  • [#33] Use NameHandler instead whois.name.php
  • [#33] Use DkHandler instead whois.dk.php
  • [#33] Use DevHandler instead whois.dev.php
  • [#33] Use CzHandler instead whois.cz.php
  • [#33] Use CoHandler instead whois.co.php
  • [#33] Use CnHandler instead whois.cn.php
  • [#33] Use ChHandler instead whois.ch.php
  • [#33] Use CatHandler instead whois.cat.php
  • [#33] Use CaHandler instead whois.ca.php

Deprecation

  • Remove obsolete file "handler.template.php"
  • [#33] Remove deprecated "generic_parser_a_blocks" function
  • [#33] Deprecated "get_contact" function

Fatal errors running tests with PHPUnit 8

Running PHPUnit 8.0.4 and PHP 7.2.15.

PHP Fatal error: Declaration of phpWhois\Handlers\GtldHandlerTest::setUp() must be compatible with PHPUnit\Framework\TestCase::setUp(): void in phpWhois/tests/Handlers/GtldHandlerTest.php on line 75

Composer installation in documentation

The readme still states that you should run compose require "phpwhois/phpwhois". That should probably be updated to reflect this fork since it is now in Packagist.

Update composer.json with best practices

See 17 Tips for Using Composer Efficiently:

  1. Use version ranges for libraries dependencies (tip 4)
  2. Run Travis CI builds with different versions of dependencies (tip 7)
  3. Sort packages in require and require-dev by name (tip 8)
  4. Do not attempt to merge composer.lock when rebasing or merging (tip 9)
  5. Validate the composer.json during the CI build (tip 13)
  6. Configure autoload-dev for tests (tip 21)

Package mso/idna-convert is abandoned

Composer throws the following warning:
Package mso/idna-convert is abandoned, you should avoid using it. Use algo26-matthias/idna-convert instead.

DEV domain

Array
(
[rawdata] => Array
(
[0] => ostap.dev domain is not supported
)

[regrinfo] => Array
    (
        [domain] => Array
            (
                [nserver] => Array
                    (
                    )

                [name] => ostap.dev
            )

        [registered] => yes
    )

)

Does this truely require php7?

Recently you have added the php>7 requirement to composer. Is that really true? I had this working pretty well in 5.6 before the php dependency was added to composer.

Ambiguous class resolution, "name_handler"

Composer throws warning with PHP 7.2.15.

Warning: Ambiguous class resolution, "name_handler" was found in both "src/whois.gtld.name.php" and "src/whois.name.php"

The class name_handler is duplicated.

Does this fork support proxies? Or can it be modified to support proxies?

I was wondering if this fork supported proxies? Or if it could be modified to support proxies. I do not know the technical details of how this function works, so I don't know if that's feasible or not.

Or if any of the other forks offers proxy support. If anyone has any knowledge on this, let me know. Thanks.

PHP 8 support?

Currently locked to ^7.1 in composer.json. Can you please update?

Whois output is not correctly parsed if it contains empty lines

If the raw output of the whois query contains empty lines, the while loop in the get_blocks function of file whois.parser.php stops before all lines are processed.

The reason is obvious:

while ($val = current($rawdata))

$val is falsy when the line is empty.

Imho this is a big issue. Because Whois is telling that a domain is free, although it is wrong.

lookup of .de domains is not working

I'm getting the following error when trying to query e.g. nic.de:

Notice: Undefined index: changed in phpWhois/whois.de.php on line 67

Nevertheless the library is getting the following response from whois.nic.de (as specified in whois.servers.php):

Domain: nic.de
Status: connect

The problem seems to be the same as in https://bugs.archlinux.org/task/13036 meaning the query parameters "-T dn,ace" are missing for whois.nic.de

Broken .ca lookups

Hi,

.ca lookups are broken. We think this happen since .ca registry updated their registry software at the beginning of the month. Whois format for .ca domains seem to have changed.

We get notice like :

Severity: Notice --> Undefined offset: 1 /var/www/sites/potato/vendor/jsmitty12/phpwhois/src/whois.ca.php 56

Illegal byte sequence

When installing via: composer require jsmitty12/phpWhois

I get:

  [RuntimeException]
  Failed to extract jsmitty12/phpwhois: (50) unzip -qq -o '/Users/daniel/Downloads/Open-DMARC-Analyzer-master/vendor/composer/tmp-12cb950128d4609814ca7e1c09122b8c' -d '/Users/daniel/Downloads/Open
  -DMARC-Analyzer-master/vendor/composer/4f8f1150'

  error:  cannot create /Users/daniel/Downloads/Open-DMARC-Analyzer-master/vendor/composer/4f8f1150/jsmitty12-phpWhois-4d56dfb/tests/fixtures/ÐÇðÁð¦.ÐÇÐä.txt
          Illegal byte sequence

Incorrect date parsing causing incorrect regrinfo

Provided a .org domain with the following response (from rawdata) with dates in Y-m-dTH:i:sZ format:

Updated Date: 2019-09-16T15:39:04Z
Creation Date: 2012-10-01T15:32:42Z
Registry Expiry Date: 2020-10-01T15:32:42Z

The parsed information in regrinfo has incorrect dates when Y-m-d could theoretically also be Y-d-m. (e.g. 10-01)

changed: 2019-09-16
created: 2012-01-10
expires: 2020-01-10

Created and expires should be 10-01, changed is fine.

Does not seem to happen exclusively on .org domains.

Somewhat related to #38

Using jsmitty12/phpwhois#5.5.0.

        $whoisTarget = 'proper-full-domain.tld';
        $whois = new Whois();
        $result = $whois->lookup($whoisTarget);

each() replacement is incorrect

PHP 7.2 deprecated the each() function. One suggested replacement is a simple foreach(), but it cannot be done blindly. Unfortunately, the initial removal of the each() function was a blind foreach() replacement.

idna-convert issue

I am getting this msg

Array and string offset access syntax with curly braces is deprecated in /var/www/dbill.com/public/vendor/algo26-matthias/idna-convert/src/UnicodeTranscoder.php

After searching, I found this package is using old version (2.0) of algo26-matthias/idna-convert . But now 3.4 is running. Please update the required option.

failed to install

I am getting this error when install
jsmitty12/phpwhois v5.6.4 requires algo26-matthias/idna-convert ^2.0 -> satisfiable by algo26-matthias/idna-convert[v2.0.1, v2.0.2, v2.1.0] but these conflict with your requirements or minimum-stability.

I have already installed algo26-matthias/idna-convert ^3.0

composer version : 1.10.15
php version : 7.4.3

Not getting detailed owner information

Not sure if this is expected;

     +codeVersion: "5.0.0-dev",
     +version: "phpWhois v5.0.0-dev",
   }
>>> $whois->deepWhois = true;
=> true
>>> $result = $whois->lookup('example.com');
=> [
     "regrinfo" => [
       "domain" => [
         "name" => "example.com",
         "changed" => "2020-08-14",
         "created" => "1995-08-14",
         "expires" => "2021-08-13",
         "status" => [
           "clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited",
           "clientTransferProhibited https://icann.org/epp#clientTransferProhibited",
           "clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited",
         ],
         "nserver" => [
           "a.iana-servers.net" => "199.43.135.53",
           "b.iana-servers.net" => "199.43.133.53",
         ],
       ],
       "registered" => "yes",
     ],
     "regyinfo" => [
       "registrar" => "RESERVED-Internet Assigned Numbers Authority",
       "servers" => [
         [
           "server" => "com.whois-servers.net",
           "args" => "domain =example.com",
           "port" => 43,
         ],
       ],
       "type" => "domain",
     ],
     "rawdata" => [
       "   Domain Name: EXAMPLE.COM\r",
       "   Registry Domain ID: 2336799_DOMAIN_COM-VRSN\r",
       "   Registrar WHOIS Server: whois.iana.org\r",
       "   Registrar URL: http://res-dom.iana.org\r",
       "   Updated Date: 2020-08-14T07:02:37Z\r",
       "   Creation Date: 1995-08-14T04:00:00Z\r",
       "   Registry Expiry Date: 2021-08-13T04:00:00Z\r",
       "   Registrar: RESERVED-Internet Assigned Numbers Authority\r",
       "   Registrar IANA ID: 376\r",
       "   Registrar Abuse Contact Email:\r",
       "   Registrar Abuse Contact Phone:\r",
       "   Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited\r",
       "   Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited\r",
       "   Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited\r",
       "   Name Server: A.IANA-SERVERS.NET\r",
       "   Name Server: B.IANA-SERVERS.NET\r",
       "   DNSSEC: signedDelegation\r",
       "   DNSSEC DS Data: 31589 8 1 3490A6806D47F17A34C29E2CE80E8A999FFBE4BE\r",
       "   DNSSEC DS Data: 31589 8 2 CDE0D742D6998AA554A92D890F8184C698CFAC8A26FA59875A990C03E576343C\r",
       "   DNSSEC DS Data: 43547 8 1 B6225AB2CC613E0DCA7962BDC2342EA4F1B56083\r",
       "   DNSSEC DS Data: 43547 8 2 615A64233543F66F44D68933625B17497C89A70E858ED76A2145997EDF96A918\r",
       "   DNSSEC DS Data: 31406 8 1 189968811E6EBA862DD6C209F75623D8D9ED9142\r",
       "   DNSSEC DS Data: 31406 8 2 F78CF3344F72137235098ECBBD08947C2C9001C7F6A085A17F518B5D8F6B916D\r",
       "   URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/\r",
       ">>> Last update of whois database: 2020-12-22T07:59:27Z <<<\r",
       "\r",
       "For more information on Whois status codes, please visit https://icann.org/epp\r",
       "\r",
       "NOTICE: The expiration date displayed in this record is the date the\r",
       "registrar's sponsorship of the domain name registration in the registry is\r",
       "currently set to expire. This date does not necessarily reflect the expiration\r",
       "date of the domain name registrant's agreement with the sponsoring\r",
       "registrar.  Users may consult the sponsoring registrar's Whois database to\r",
       "view the registrar's reported date of expiration for this registration.\r",
       "\r",
       "TERMS OF USE: You are not authorized to access or query our Whois\r",
       "database through the use of electronic processes that are high-volume and\r",
       "automated except as reasonably necessary to register domain names or\r",
       "modify existing registrations; the Data in VeriSign Global Registry\r",
       "Services' ("VeriSign") Whois database is provided by VeriSign for\r",
       "information purposes only, and to assist persons in obtaining information\r",
       "about or related to a domain name registration record. VeriSign does not\r",
       "guarantee its accuracy. By submitting a Whois query, you agree to abide\r",
       "by the following terms of use: You agree that you may use this Data only\r",
       "for lawful purposes and that under no circumstances will you use this Data\r",
       "to: (1) allow, enable, or otherwise support the transmission of mass\r",
       "unsolicited, commercial advertising or solicitations via e-mail, telephone,\r",
       "or facsimile; or (2) enable high volume, automated, electronic processes\r",
       "that apply to VeriSign (or its computer systems). The compilation,\r",
       "repackaging, dissemination or other use of this Data is expressly\r",
       "prohibited without the prior written consent of VeriSign. You agree not to\r",
       "use electronic processes that are automated and high-volume to access or\r",
       "query the Whois database except as reasonably necessary to register\r",
       "domain names or modify existing registrations. VeriSign reserves the right\r",
       "to restrict your access to the Whois database in its sole discretion to ensure\r",
       "operational stability.  VeriSign may restrict or terminate your access to the\r",
       "Whois database for failure to abide by these terms of use. VeriSign\r",
       "reserves the right to modify these terms at any time.\r",
       "\r",
       "The Registry database contains ONLY .COM, .NET, .EDU domains and\r",
       "Registrars.\r",
     ],
   ]
>>> 

How can I retrieve owner/admin/technical contact info?

If I compare to querying an Israeli domain, this information appears to be parsed;

>>> $whois->lookup('artphone.co.il');
PHP Warning:  A non-numeric value encountered in /var/www/vendor/jsmitty12/phpwhois/src/whois.parser.php on line 905
PHP Warning:  A non-numeric value encountered in /var/www/vendor/jsmitty12/phpwhois/src/whois.parser.php on line 905
PHP Warning:  A non-numeric value encountered in /var/www/vendor/jsmitty12/phpwhois/src/whois.parser.php on line 905
PHP Warning:  A non-numeric value encountered in /var/www/vendor/jsmitty12/phpwhois/src/whois.parser.php on line 905
=> [
     "regrinfo" => [
       "disclaimer" => [
         "The data in the WHOIS database of the .il registry is provided",
         "by ISOC-IL for information purposes, and to assist persons in",
         "obtaining information about or related to a domain name",
         "registration record. ISOC-IL does not guarantee its accuracy.",
         "By submitting a WHOIS query, you agree that you will use this",
         "Data only for lawful purposes and that, under no circumstances",
         "will you use this Data to: (1) allow, enable, or otherwise",
         "support the transmission of mass unsolicited, commercial",
         "advertising or solicitations via e-mail (spam);",
         "or  (2) enable high volume, automated, electronic processes that",
         "apply to ISOC-IL (or its systems).",
         "ISOC-IL reserves the right to modify these terms at any time.",
         "By submitting this query, you agree to abide by this policy.",
       ],
       "registered" => "yes",
       "admin" => [
         "name" => "Edoard Yegudaev",
         "phone" => "+972 54 7638688",
         "fax" => "+972 54 7638688",
         "email" => "Edoard1987 AT gmail.com",
         "handle" => "BZ-EY1995-IL",
         "changed" => "2000-00-00",
       ],
       "tech" => [
         "name" => "Edoard Yegudaev",
         "phone" => "+972 54 7638688",
         "fax" => "+972 54 7638688",
         "email" => "Edoard1987 AT gmail.com",
         "handle" => "BZ-EY1996-IL",
         "changed" => "2000-00-00",
       ],
       "zone" => [
         "name" => "Edoard Yegudaev",
         "phone" => "+972 54 7638688",
         "fax" => "+972 54 7638688",
         "email" => "Edoard1987 AT gmail.com",
         "handle" => "BZ-EY1997-IL",
         "changed" => "2000-00-00",
       ],
       "domain" => [
         "query" => "artphone.co.il",
         "reg-name" => "artphone",
         "domain" => "artphone.co.il",
         "descr" => [
           "Artphone",
           "NATANZON 28",
           "HAIFA",
           "Israel",
         ],
         "phone" => "+972 54 7638688",
         "fax" => "+972 54 7638688",
         "email" => "Edoard1987 AT gmail.com",
         "nserver" => [
           "ns1.bezeqint.net" => "62.219.128.128",
           "ns2.bezeqint.net" => "212.179.7.7",
           "ns3.bezeqint.net" => "192.115.132.132",
         ],
         "validity" => "19-10-2021",
         "dnssec" => "unsigned",
         "status" => "Transfer Locked",
         "changed" => "2000-00-00",
         "name" => "artphone.co.il",
       ],
     ],
     "regyinfo" => [
       "referrer" => "http://www.isoc.org.il/",
       "registrar" => "ISOC-IL",
       "servers" => [
         [
           "server" => "whois.isoc.org.il",
           "args" => "artphone.co.il",
           "port" => 43,
         ],
       ],
       "type" => "domain",
     ],
     "rawdata" => [
       "",
       "% The data in the WHOIS database of the .il registry is provided",
       "% by ISOC-IL for information purposes, and to assist persons in ",
       "% obtaining information about or related to a domain name ",
       "% registration record. ISOC-IL does not guarantee its accuracy.",
       "% By submitting a WHOIS query, you agree that you will use this",
       "% Data only for lawful purposes and that, under no circumstances",
       "% will you use this Data to: (1) allow, enable, or otherwise ",
       "% support the transmission of mass unsolicited, commercial ",
       "% advertising or solicitations via e-mail (spam); ",
       "% or  (2) enable high volume, automated, electronic processes that ",
       "% apply to ISOC-IL (or its systems).",
       "% ISOC-IL reserves the right to modify these terms at any time.",
       "% By submitting this query, you agree to abide by this policy.",
       " ",
       "query:        artphone.co.il",
       "",
       "reg-name:     artphone",
       "domain:       artphone.co.il",
       "",
       "descr:        Artphone",
       "descr:        NATANZON 28",
       "descr:        HAIFA",
       "descr:        Israel",
       "phone:        +972 54 7638688",
       "fax-no:       +972 54 7638688",
       "e-mail:       Edoard1987 AT gmail.com",
       "admin-c:      BZ-EY1995-IL",
       "tech-c:       BZ-EY1996-IL",
       "zone-c:       BZ-EY1997-IL",
       "nserver:      Ns1.bezeqint.net ",
       "nserver:      Ns2.bezeqint.net ",
       "nserver:      Ns3.bezeqint.net ",
       "validity:     19-10-2021",
       "DNSSEC:       unsigned",
       "status:       Transfer Locked",
       "changed:      domain-registrar AT isoc.org.il 20201019 (Assigned)",
       "",
       "person:       Edoard Yegudaev",
       "address      Artphone",
       "address      NATANZON 28",
       "address      HAIFA",
       "address      Israel",
       "phone:        +972 54 7638688",
       "fax-no:       +972 54 7638688",
       "e-mail:       Edoard1987 AT gmail.com",
       "nic-hdl:      BZ-EY1995-IL",
       "changed:      domain-registrar AT isoc.org.il 20201019",
       "",
       "person:       Edoard Yegudaev",
       "address      Artphone",
       "address      NATANZON 28",
       "address      HAIFA",
       "address      Israel",
       "phone:        +972 54 7638688",
       "fax-no:       +972 54 7638688",
       "e-mail:       Edoard1987 AT gmail.com",
       "nic-hdl:      BZ-EY1996-IL",
       "changed:      domain-registrar AT isoc.org.il 20201019",
       "",
       "person:       Edoard Yegudaev",
       "address      Artphone",
       "address      NATANZON 28",
       "address      HAIFA",
       "address      Israel",
       "phone:        +972 54 7638688",
       "fax-no:       +972 54 7638688",
       "e-mail:       Edoard1987 AT gmail.com",
       "nic-hdl:      BZ-EY1997-IL",
       "changed:      domain-registrar AT isoc.org.il 20201019",
       "",
       "registrar name: Bezeq International Ltd",
       "registrar info: https://www.bezeqint.net/web/domains/search-domain",
       "",
       "% Rights to the data above are restricted by copyright.",
     ],
   ]

IPV6 results seem to all point to ::/0

First off, thanks for making a fork that's not dead.

$whois = new Whois();
$result = $whois->lookup('2607:f8b0:4007:811:0:0:0:200e');

Seems to get you the most generic result...

       "inet6num:       ::/0",
       "netname:        IANA-BLK",
       "descr:          The whole IPv6 address space",

When querying whois in console whois 2607:f8b0:4007:811:0:0:0:200e I get different results with more useful information

NetRange:       2607:F8B0:: - 2607:F8B0:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF
CIDR:           2607:F8B0::/32
NetName:        GOOGLE-IPV6

I'm not sure what to make of this, mostly posing this to the community in case someone knows more than me about what's going on with ipv6 addresses and how I should address this problem. I suspect that I'll just end up needing to specify a different whois server.

.ph domain is not supported

version "jsmitty12/phpwhois": "^5.0"


For example:

Array
(
    [rawdata] => Array
        (
            [0] => cityescape.ph domain is not supported
        )
    [regrinfo] => Array
        (
            [domain] => Array
                (
                    [nserver] => Array
                        (
                        )
                    [name] => cityescape.ph
                )
            [registered] => yes
        )
)

Premium domains

Hello, is there a way to filter premium domains? srv.biz appears as free for me, but costs more due to premium domains.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.