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

.tw domain name cannot be resolved #191

Open
ellermister opened this issue Sep 6, 2022 · 0 comments
Open

.tw domain name cannot be resolved #191

ellermister opened this issue Sep 6, 2022 · 0 comments

Comments

@ellermister
Copy link

PHP-Whois version: master

PHP version: 7.4

Description
.tw domain name cannot be resolved

How to reproduce

$domain = "twnic.tw"

 $whois = Factory::get()->createWhois();

$response = $whois->loadDomainInfo($domain);

var_dump($response->toArray());

Possible Solution
add parser for .tw

Additional context

array(11) {
  ["parserType"]=>
  string(6) "common"
  ["domainName"]=>
  string(8) "twnic.tw"
  ["whoisServer"]=>
  string(0) ""
  ["nameServers"]=>
  array(0) {
  }
  ["creationDate"]=>
  string(0) ""
  ["expirationDate"]=>
  string(0) ""
  ["updatedDate"]=>
  string(0) ""
  ["states"]=>
  array(2) {
    [0]=>
    string(8) "inactive"
    [1]=>
    string(24) "clienttransferprohibited"
  }
  ["owner"]=>
  string(0) ""
  ["registrar"]=>
  string(0) ""
  ["dnssec"]=>
  string(0) ""
}



-- whois command
root@server1:~# whois twnic.tw -h whois.twnic.net.tw
Domain Name: twnic.tw
   Domain Status: ok
   Registrant:
      台灣網路資訊中心
      Taiwan Network Information Center
      IA  [email protected]
      +886.225289696
      +886.225287756
      3F, No.123, Sec.4, Bade Rd., Songshan Dist., Taipei 105, Taiwan
      台北市, 
      TW

   Administrative Contact:
      IA  [email protected]
      +886.225289696
      +886.225287756

   Technical Contact:
      IA  [email protected]
      +886.225289696
      +886.225287756

   Record expires on 2025-10-27 00:00:00 (UTC+8)
   Record created on 2005-10-27 17:02:34 (UTC+8)

   Domain servers in listed order:
      dns2.twnic.net.tw     
      dns1.twnic.net.tw     

Registration Service Provider: TWNIC
Registration Service URL: http://rs.twnic.net.tw/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant