获取短域名的 whois 数据


Obtain whois data for a short domain name

假设,我们想要获得域名的注册日期。此信息可以从 whois.crsnic.net 服务器(在端口 43 上(轻松获取。但是,如果我们想为像 AAA.COM 这样的短域获取此类信息,服务器可能会像这样响应:

Whois 服务器版本 2.0 .com和 .net 域中的域名可以 现在已在许多不同的竞争注册商处注册。转到 http://www.internic.net 了解详细信息。AAA.COM.CN AAA.COM.TW AAA.COM2.CN AAA.COM 要挑出一条记录,请查找它 使用"xxx",其中 xxx 是上面显示的记录之一。如果 记录是相同的,使用"=xxx"查找它们以获得完整的 显示每条记录。...

显然,这意味着存在具有相同 TLD 基础的相同域。在这种情况下,我如何获得 AAA.COM 的记录?我真的不明白下面是什么意思。

要挑出一条记录,请查找它 使用"xxx",其中 xxx 是上面显示的记录之一。

现在,我的查询如下所示

$sp = fsockopen ("whois.crsnic.net", 43);
fputs ($sp, "aaa.com'r'n");

如果您发送=aaa.com,您将收到包含以下内容的响应:

   Server Name: AAA.COM.CN
   Registrar: MELBOURNE IT, LTD. D/B/A INTERNET NAMES WORLDWIDE
   Whois Server: whois.melbourneit.com
   Referral URL: http://www.melbourneit.com
   Server Name: AAA.COM.TW
   Registrar: MELBOURNE IT, LTD. D/B/A INTERNET NAMES WORLDWIDE
   Whois Server: whois.melbourneit.com
   Referral URL: http://www.melbourneit.com
   Server Name: AAA.COM2.CN
   Registrar: XIN NET TECHNOLOGY CORPORATION
   Whois Server: whois.paycenter.com.cn
   Referral URL: http://www.xinnet.com
   Domain Name: AAA.COM
   Registrar: NETWORK SOLUTIONS, LLC.
   Whois Server: whois.networksolutions.com
   Referral URL: http://networksolutions.com
   Name Server: WALDO.NATIONAL.AAA.COM
   Name Server: XB.NATIONAL.AAA.COM
   Status: clientDeleteProhibited
   Status: clientTransferProhibited
   Status: clientUpdateProhibited
   Status: serverDeleteProhibited
   Status: serverTransferProhibited
   Status: serverUpdateProhibited
   Updated Date: 20-may-2014
   Creation Date: 03-aug-1990
   Expiration Date: 02-aug-2019

这告诉您aaa.com的合适 whois 服务器是 whois.networksolutions.com 。因此,您应该重试使用该服务器,您将获得详细信息:

Domain Name: AAA.COM
Registry Domain ID:
Registrar WHOIS Server: whois.networksolutions.com
Registrar URL: http://networksolutions.com
Updated Date: 2009-11-19T00:00:00Z
Creation Date: 1990-08-03T00:00:00Z
Registrar Registration Expiration Date: 2019-08-02T00:00:00Z
Registrar: NETWORK SOLUTIONS, LLC.
Registrar IANA ID: 2
Registrar Abuse Contact Email: abuse@web.com
Registrar Abuse Contact Phone: +1.8003337680
Reseller:
Domain Status: clientDeleteProhibited
Domain Status: clientTransferProhibited
Domain Status: clientUpdateProhibited
Domain Status: serverDeleteProhibited
Domain Status: serverTransferProhibited
Domain Status: serverUpdateProhibited
Registry Registrant ID:
Registrant Name: The American Automobile Association, Inc.
Registrant Organization: The American Automobile Association, Inc.
Registrant Street: 1000 AAA Drive
Registrant City: Heathrow
Registrant State/Province: FL
Registrant Postal Code: 32746
Registrant Country: US
Registrant Phone: 407-444-7000
Registrant Phone Ext:
Registrant Fax:
Registrant Fax Ext:
Registrant Email: no.valid.email@worldnic.com
Registry Admin ID:
Admin Name: The American Automobile Association, Inc.
Admin Organization: The American Automobile Association, Inc.
Admin Street: 1000 AAA Drive
Admin City: Heathrow
Admin State/Province: FL
Admin Postal Code: 32746
Admin Country: US
Admin Phone: 407-444-7000
Admin Phone Ext:
Admin Fax:
Admin Fax Ext:
Admin Email: internet.operations@national.aaa.com
Registry Tech ID:
Tech Name: The American Automobile Association, Inc.
Tech Organization: The American Automobile Association, Inc.
Tech Street: 1000 AAA Drive
Tech City: Heathrow
Tech State/Province: FL
Tech Postal Code: 32746
Tech Country: US
Tech Phone: 407-444-7000
Tech Phone Ext:
Tech Fax:
Tech Fax Ext:
Tech Email: internet.operations@national.aaa.com
Name Server: XB.NATIONAL.AAA.COM
Name Server: WALDO.NATIONAL.AAA.COM
DNSSEC: not signed