Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Phois/Whois/Whois.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Whois
*/
public function __construct($domain)
{
$this->domain = $domain;
$this->domain = strtolower($domain);
// check $domain syntax and split full domain name on subdomain and TLDs
if (
preg_match('/^([\p{L}\d\-]+)\.((?:[\p{L}\-]+\.?)+)$/ui', $this->domain, $matches)
Expand Down
62 changes: 61 additions & 1 deletion src/Phois/Whois/whois.servers.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,64 @@
{
"app": [
"whois.nic.google",
"Domain not found."
],
"run": [
"whois.nic.run",
"available"
],
"plus": [
"whois.nic.plus",
"available"
],
"ai": [
"whois.nic.ai",
"available"
],
"live": [
"whois.nic.live",
"available"
],
"vip": [
"whois.nic.vip",
"available"
],
"studio": [
"whois.nic.studio",
"available"
],
"group": [
"whois.nic.group",
"available"
],
"storage": [
"whois.nic.storage",
"available"
],
"date": [
"whois.nic.date",
"No Data Found"
],
"ist": [
"whois.afilias-srs.net",
"NOT FOUND"
],
"fan": [
"whois.nic.fan",
"Domain not found."
],
"film": [
"whois.nic.film",
"No Data Found"
],
"cloud": [
"whois.nic.cloud",
"No Data Found"
],
"shop": [
"whois.nic.shop",
"The queried object does not exist: DOMAIN NOT FOUND"
],
"abogado": [
"whois-dub.mm-registry.com",
"is available for registration"
Expand Down Expand Up @@ -3907,4 +3967,4 @@
"whois.ksregistry.net",
"not found..."
]
}
}