From 2f102901ef29ec71c0c2da5198fecb1bb1aced6e Mon Sep 17 00:00:00 2001 From: bessone Date: Thu, 13 Jan 2022 15:06:42 +0100 Subject: [PATCH] add .tube --- .../Whois/Configs/module.tld.servers.json | 1 + .../Whois/Modules/Tld/TldParsingTest.php | 4 + .../Modules/Tld/parsing_data/.tube/free.txt | 26 ++++++ .../Tld/parsing_data/.tube/google.tube.json | 21 +++++ .../Tld/parsing_data/.tube/google.tube.txt | 89 +++++++++++++++++++ 5 files changed, 141 insertions(+) create mode 100644 tests/Iodev/Whois/Modules/Tld/parsing_data/.tube/free.txt create mode 100644 tests/Iodev/Whois/Modules/Tld/parsing_data/.tube/google.tube.json create mode 100644 tests/Iodev/Whois/Modules/Tld/parsing_data/.tube/google.tube.txt diff --git a/src/Iodev/Whois/Configs/module.tld.servers.json b/src/Iodev/Whois/Configs/module.tld.servers.json index fdfb49db..3ef117ee 100644 --- a/src/Iodev/Whois/Configs/module.tld.servers.json +++ b/src/Iodev/Whois/Configs/module.tld.servers.json @@ -1122,6 +1122,7 @@ {"zone": ".travelersinsurance", "host": "whois.afilias-srs.net"}, {"zone": ".trust", "host": "whois.nic.trust"}, {"zone": ".trv", "host": "whois.afilias-srs.net"}, + {"zone": ".tube", "host": "whois.nic.tube"}, {"zone": ".tui", "host": "whois.nic.tui"}, {"zone": ".tunes", "host": "whois.nic.tunes"}, {"zone": ".tushu", "host": "whois.nic.tushu"}, diff --git a/tests/Iodev/Whois/Modules/Tld/TldParsingTest.php b/tests/Iodev/Whois/Modules/Tld/TldParsingTest.php index 6908db0e..058d4015 100644 --- a/tests/Iodev/Whois/Modules/Tld/TldParsingTest.php +++ b/tests/Iodev/Whois/Modules/Tld/TldParsingTest.php @@ -903,6 +903,10 @@ public function getTestData() [ "free.tr", ".tr/free.txt", null ], // [ "google.com.tr", ".tr/google.com.tr.txt", ".tr/google.com.tr.json" ], + // .TUBE + [ "free.tube", ".tube/free.txt", null ], + [ "google.tube", ".tube/google.tube.txt", ".tube/google.tube.json" ], + // .TW [ "free.tw", ".tw/free.txt", null ], // [ "google.com.tw", ".tw/google.com.tw.txt", ".tw/google.com.tw.json" ], diff --git a/tests/Iodev/Whois/Modules/Tld/parsing_data/.tube/free.txt b/tests/Iodev/Whois/Modules/Tld/parsing_data/.tube/free.txt new file mode 100644 index 00000000..86c8ac84 --- /dev/null +++ b/tests/Iodev/Whois/Modules/Tld/parsing_data/.tube/free.txt @@ -0,0 +1,26 @@ +No Data Found +URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/ +>>> Last update of WHOIS database: 2022-01-13T13:56:37Z <<< + +For more information on Whois status codes, please visit https://icann.org/epp + +The Service is provided so that you may look up certain information in relation to domain names that we store in our database. + +Use of the Service is subject to our policies, in particular you should familiarise yourself with our Acceptable Use Policy and our Privacy Policy. + +The information provided by this Service is 'as is' and we make no guarantee of it its accuracy. + +You agree that by your use of the Service you will not use the information provided by us in a way which is: +* inconsistent with any applicable laws, +* inconsistent with any policy issued by us, +* to generate, distribute, or facilitate unsolicited mass email, promotions, advertisings or other solicitations, or +* to enable high volume, automated, electronic processes that apply to the Service. + +You acknowledge that: +* a response from the Service that a domain name is 'available', does not guarantee that is able to be registered, +* we may restrict, suspend or terminate your access to the Service at any time, and +* the copying, compilation, repackaging, dissemination or other use of the information provided by the Service is not permitted, without our express written consent. + +This information has been prepared and published in order to represent administrative and technical management of the TLD. + +We may discontinue or amend any part or the whole of these Terms of Service from time to time at our absolute discretion. \ No newline at end of file diff --git a/tests/Iodev/Whois/Modules/Tld/parsing_data/.tube/google.tube.json b/tests/Iodev/Whois/Modules/Tld/parsing_data/.tube/google.tube.json new file mode 100644 index 00000000..47938267 --- /dev/null +++ b/tests/Iodev/Whois/Modules/Tld/parsing_data/.tube/google.tube.json @@ -0,0 +1,21 @@ +{ + "domainName": "google.tube", + "whoisServer": "whois.markmonitor.com", + "nameServers": [ + "ns1.googledomains.com", + "ns2.googledomains.com", + "ns3.googledomains.com", + "ns4.googledomains.com" + ], + "dnssec": "unsigned", + "creationDate": "2016-06-20T15:29:33Z", + "expirationDate": "2022-06-19T23:59:59Z", + "updatedDate": "2021-05-23T09:43:03Z", + "states": [ + "clientdeleteprohibited", + "clienttransferprohibited", + "clientupdateprohibited" + ], + "owner": "Google LLC", + "registrar": "MarkMonitor, Inc." +} \ No newline at end of file diff --git a/tests/Iodev/Whois/Modules/Tld/parsing_data/.tube/google.tube.txt b/tests/Iodev/Whois/Modules/Tld/parsing_data/.tube/google.tube.txt new file mode 100644 index 00000000..8306372b --- /dev/null +++ b/tests/Iodev/Whois/Modules/Tld/parsing_data/.tube/google.tube.txt @@ -0,0 +1,89 @@ +Domain Name: google.tube +Registry Domain ID: D3145-TUBE +Registrar WHOIS Server: whois.markmonitor.com +Registrar URL: www.markmonitor.com +Updated Date: 2021-05-23T09:43:03Z +Creation Date: 2016-06-20T15:29:33Z +Registry Expiry Date: 2022-06-19T23:59:59Z +Registrar: MarkMonitor, Inc. +Registrar IANA ID: 292 +Registrar Abuse Contact Email: abusecomplaints@markmonitor.com +Registrar Abuse Contact Phone: +1.2083895740 +Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited +Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited +Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited +Registry Registrant ID: REDACTED FOR PRIVACY +Registrant Name: REDACTED FOR PRIVACY +Registrant Organization: Google LLC +Registrant Street: REDACTED FOR PRIVACY +Registrant Street: REDACTED FOR PRIVACY +Registrant Street: REDACTED FOR PRIVACY +Registrant City: REDACTED FOR PRIVACY +Registrant State/Province: CA +Registrant Postal Code: REDACTED FOR PRIVACY +Registrant Country: US +Registrant Phone: REDACTED FOR PRIVACY +Registrant Phone Ext: REDACTED FOR PRIVACY +Registrant Fax: REDACTED FOR PRIVACY +Registrant Fax Ext: REDACTED FOR PRIVACY +Registrant Email: Please query the RDDS service of the Registrar of Record identified in this output for information on how to contact the Registrant, Admin, or Tech contact of the queried domain name. +Registry Admin ID: REDACTED FOR PRIVACY +Admin Name: REDACTED FOR PRIVACY +Admin Organization: REDACTED FOR PRIVACY +Admin Street: REDACTED FOR PRIVACY +Admin Street: REDACTED FOR PRIVACY +Admin Street: REDACTED FOR PRIVACY +Admin City: REDACTED FOR PRIVACY +Admin State/Province: REDACTED FOR PRIVACY +Admin Postal Code: REDACTED FOR PRIVACY +Admin Country: REDACTED FOR PRIVACY +Admin Phone: REDACTED FOR PRIVACY +Admin Phone Ext: REDACTED FOR PRIVACY +Admin Fax: REDACTED FOR PRIVACY +Admin Fax Ext: REDACTED FOR PRIVACY +Admin Email: Please query the RDDS service of the Registrar of Record identified in this output for information on how to contact the Registrant, Admin, or Tech contact of the queried domain name. +Registry Tech ID: REDACTED FOR PRIVACY +Tech Name: REDACTED FOR PRIVACY +Tech Organization: REDACTED FOR PRIVACY +Tech Street: REDACTED FOR PRIVACY +Tech Street: REDACTED FOR PRIVACY +Tech Street: REDACTED FOR PRIVACY +Tech City: REDACTED FOR PRIVACY +Tech State/Province: REDACTED FOR PRIVACY +Tech Postal Code: REDACTED FOR PRIVACY +Tech Country: REDACTED FOR PRIVACY +Tech Phone: REDACTED FOR PRIVACY +Tech Phone Ext: REDACTED FOR PRIVACY +Tech Fax: REDACTED FOR PRIVACY +Tech Fax Ext: REDACTED FOR PRIVACY +Tech Email: Please query the RDDS service of the Registrar of Record identified in this output for information on how to contact the Registrant, Admin, or Tech contact of the queried domain name. +Name Server: ns2.googledomains.com +Name Server: ns4.googledomains.com +Name Server: ns3.googledomains.com +Name Server: ns1.googledomains.com +DNSSEC: unsigned +URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/ +>>> Last update of WHOIS database: 2022-01-13T13:57:16Z <<< + +For more information on Whois status codes, please visit https://icann.org/epp + +The Service is provided so that you may look up certain information in relation to domain names that we store in our database. + +Use of the Service is subject to our policies, in particular you should familiarise yourself with our Acceptable Use Policy and our Privacy Policy. + +The information provided by this Service is 'as is' and we make no guarantee of it its accuracy. + +You agree that by your use of the Service you will not use the information provided by us in a way which is: +* inconsistent with any applicable laws, +* inconsistent with any policy issued by us, +* to generate, distribute, or facilitate unsolicited mass email, promotions, advertisings or other solicitations, or +* to enable high volume, automated, electronic processes that apply to the Service. + +You acknowledge that: +* a response from the Service that a domain name is 'available', does not guarantee that is able to be registered, +* we may restrict, suspend or terminate your access to the Service at any time, and +* the copying, compilation, repackaging, dissemination or other use of the information provided by the Service is not permitted, without our express written consent. + +This information has been prepared and published in order to represent administrative and technical management of the TLD. + +We may discontinue or amend any part or the whole of these Terms of Service from time to time at our absolute discretion. \ No newline at end of file