Skip to content

Commit ea4cf52

Browse files
authored
Add UDR TLDs (#202)
1 parent da22455 commit ea4cf52

File tree

5 files changed

+49
-0
lines changed

5 files changed

+49
-0
lines changed

src/Iodev/Whois/Configs/module.tld.servers.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,8 @@
509509
{"zone": ".hk", "host": "whois.hkirc.hk"},
510510
{"zone": ".hk", "host": "whois.hknic.net.hk"},
511511
{"zone": ".*.hk", "host": "whois.hkdnr.net.hk"},
512+
{"zone": ".hk.com", "host": "whois.registry.hk.com"},
513+
{"zone": ".hk.org", "host": "whois.registry.hk.com"},
512514
{"zone": ".hkt", "host": "whois.nic.hkt"},
513515
{"zone": ".hm", "host": "whois.registry.hm"},
514516
{"zone": ".hn", "host": "whois.nic.hn"},
@@ -555,6 +557,7 @@
555557
{"zone": ".info", "host": "whois.afilias.net"},
556558
{"zone": ".ing", "host": "whois.nic.google"},
557559
{"zone": ".ink", "host": "whois.nic.ink"},
560+
{"zone": ".inc.hk", "host": "whois.registry.hk.com"},
558561
{"zone": ".institute", "host": "whois.nic.institute"},
559562
{"zone": ".insurance", "host": "whois.nic.insurance"},
560563
{"zone": ".insure", "host": "whois.nic.insure"},
@@ -671,6 +674,7 @@
671674
{"zone": ".ls", "host": "whois.nic.ls"},
672675
{"zone": ".lt", "host": "whois.domreg.lt", "parserType": "commonFlat"},
673676
{"zone": ".ltd", "host": "whois.nic.ltd"},
677+
{"zone": ".ltd.hk", "host": "whois.registry.hk.com"},
674678
{"zone": ".ltda", "host": "whois.afilias-srs.net"},
675679
{"zone": ".lu", "host": "whois.dns.lu"},
676680
{"zone": ".lu", "host": "whois.restena.lu"},

tests/Iodev/Whois/Modules/Tld/TldParsingTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,10 @@ public function getTestData()
486486
[ "free.hk", ".hk/free.txt", null ],
487487
// [ "google.com.hk", ".hk/google.com.hk.txt", ".hk/google.com.hk.json" ],
488488

489+
// .HK.COM
490+
[ "free.hk.com", ".hk.com/free.txt", null ],
491+
[ "udr.hk.com", ".hk.com/udr.hk.com.txt", ".hk.com/udr.hk.com.json" ],
492+
489493
// .HR
490494
[ "free.hr", ".hr/free.txt", null ],
491495
[ "google.hr", ".hr/google.hr.txt", ".hr/google.hr.json" ],
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Use of this whois service implies agreement with our whois
2+
terms found here http://www.whois.hk.com/terms.html
3+
4+
Available: Yes
5+
No match for "freedomain.hk.com"
6+
7+
This domain is available for registration, please visit:
8+
http://www.domains.hk.com/register-domain
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"domainName": "udr.hk.com",
3+
"whoisServer": "",
4+
"nameServers": [
5+
"ns1.hkdot.com",
6+
"ns2.hkdot.com"
7+
],
8+
"creationDate": "2005-08-11T00:00:00Z",
9+
"updatedDate": "2005-08-11T00:00:00Z",
10+
"states": [],
11+
"owner": "Hostmaster - Universal Domain Registry",
12+
"registrar": "SARNic - Legacy Registrar"
13+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Use of this whois service implies agreement with our whois
2+
terms found here http://www.whois.hk.com/terms.html
3+
4+
Available: No
5+
6+
Domain Name: UDR.HK.COM
7+
Registrar URL: http://www.sarnic.hk.com
8+
Creation Date: 2005-08-11T00:00:00Z
9+
Last Updated: 2005-08-11T00:00:00Z
10+
11+
Registrar: SARNic - Legacy Registrar
12+
Registrar Abuse Contact Email: [email protected]
13+
Registrant ID: SA-12246
14+
Registrant Name: Hostmaster - Universal Domain Registry
15+
Registrant Organization:
16+
Name Server: NS2.HKDOT.COM
17+
Name Server: NS1.HKDOT.COM
18+
19+
For complete domain details go to:
20+
http://www.whois.hk.com

0 commit comments

Comments
 (0)