Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add whois server for .com.se #206

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions src/Iodev/Whois/Configs/module.tld.servers.json
Original file line number Diff line number Diff line change
Expand Up @@ -974,6 +974,7 @@
{"zone": ".scjohnson", "host": "whois.nic.scjohnson"},
{"zone": ".scot", "host": "whois.nic.scot"},
{"zone": ".se", "host": "whois.iis.se"},
{"zone": ".com.se", "host": "whois.centralnic.com"},
{"zone": ".search", "host": "whois.nic.google"},
{"zone": ".seat", "host": "whois.nic.seat"},
{"zone": ".secure", "host": "whois.nic.secure"},
Expand Down
4 changes: 4 additions & 0 deletions tests/Iodev/Whois/Modules/Tld/TldParsingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,10 @@ public function getTestData()
[ "öppettider.se", ".se/xn--ppettider-z7a.se.txt", ".se/xn--ppettider-z7a.se.json" ],
[ "xn--ppettider-z7a.se", ".se/xn--ppettider-z7a.se.txt", ".se/xn--ppettider-z7a.se.json" ],

// .COM.SE
[ "free.com.se", ".com.se/free.txt", null ],
[ "www.com.se", ".com.se/www.com.se.txt", ".com.se/www.com.se.json" ],

// .SG
[ "free.sg", ".sg/free.txt", null ],
// [ "google.com.sg", ".sg/google.com.sg.txt", ".sg/google.com.sg.json" ],
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\'free.com.se\' not found
16 changes: 16 additions & 0 deletions tests/Iodev/Whois/Modules/Tld/parsing_data/.com.se/www.com.se.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"domainName": "www.com.se",
"nameServers": [
"gene.ns.cloudflare.com",
"tim.ns.cloudflare.com"
],
"dnssec": "unsigned delegation",
"creationDate": "2014-05-01",
"expirationDate": "2023-05-01Z",
"updatedDate": "2022-12-08",
"states": [
"ok"
],
"owner": "C11480",
"registrar": "CentralNic Ltd"
}
32 changes: 32 additions & 0 deletions tests/Iodev/Whois/Modules/Tld/parsing_data/.com.se/www.com.se.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# For more information on Whois status codes, please visit https: //icann.org/epp
#
# >>> IMPORTANT INFORMATION ABOUT THE DEPLOYMENT OF RDAP: please visit
# https: //www.centralnic.com/support/rdap <<<
#
# The Whois and RDAP services are provided by CentralNic, and contain
# information pertaining to Internet domain names registered by our
# our customers. By using this service you are agreeing (1) not to use any
# information presented here for any purpose other than determining
# ownership of domain names, (2) not to store or reproduce this data in
# any way, (3) not to use any high-volume, automated, electronic processes
# to obtain data from this service. Abuse of this service is monitored and
# actions in contravention of these terms will result in being permanently
# blacklisted. All data is (c) CentralNic Ltd (https: //www.centralnic.com)
#
# Access to the Whois and RDAP services is rate limited. For more
# information, visit https: //registrar-console.centralnic.com/pub/whois_guidance.

state: active
domain: www.com.se
holder: C11480
admin-c: -
tech-c: -
billing-c: -
created: 2014-05-01
modified: 2022-12-08
expires: 2023-05-01
nserver: gene.ns.cloudflare.com
nserver: tim.ns.cloudflare.com
dnssec: unsigned delegation
status: ok
registrar: CentralNic Ltd