Парсер Whois на PHP

S
На сайте с 02.09.2009
Offline
106
1984

такой вопрос, пытаюсь сделать парсер Whois доменов, пробую парсить через 43 порт сервер whois.crsnic.net . Но одни доменные отдает полностью весь хуиз с датами регистрации, а некоторые без этой инфы только.

Подскажите как правильно парить или может есть парсер на PHP

Например facebook.com

74.221.209.28facebook.com

Whois Server Version 2.0

Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.

FACEBOOK.COM.BRETLANDTRUSTMERCHANDISINGDEPART.COM
FACEBOOK.COM.DEMONSTRATING.WHOIS.ROISMAN.COM
FACEBOOK.COM.DISABLE.YOUR.TIMELINE.NOW.WITH.THE.ORIGINAL.TIMELINE-REMOVE.NET
FACEBOOK.COM.GET.ONE.MILLION.DOLLARS.AT.WWW.UNIMUNDI.COM
FACEBOOK.COM.LOVED.BY.WWW.SHQIPHOST.COM
FACEBOOK.COM.MORE.INFO.AT.WWW.BEYONDWHOIS.COM
FACEBOOK.COM.PHOTO.PHP.FBID.10228.SET.A.23345.7423.THEATER.CZECHYOURVISA.COM
FACEBOOK.COM.PHOTO.PHP.FBID.1233424523.CZECHYOURVISA.COM
FACEBOOK.COM.ZZZZZ.GET.LAID.AT.WWW.SWINGINGCOMMUNITY.COM
FACEBOOK.COM

To single out one record, look it up with "xxx", where xxx is one of the
records displayed above. If the records are the same, look them up
with "=xxx" to receive a full display for each record.

>>> Last update of whois database: Tue, 18 Apr 2017 11:11:47 GMT <<<

For more information on Whois status codes, please visit https://icann.org/epp

NOTICE: The expiration date displayed in this record is the date the
registrar's sponsorship of the domain name registration in the registry is
currently set to expire. This date does not necessarily reflect the expiration
date of the domain name registrant's agreement with the sponsoring
registrar. Users may consult the sponsoring registrar's Whois database to
view the registrar's reported date of expiration for this registration.

TERMS OF USE: You are not authorized to access or query our Whois
database through the use of electronic processes that are high-volume and
automated except as reasonably necessary to register domain names or
modify existing registrations; the Data in VeriSign Global Registry
Services' ("VeriSign") Whois database is provided by VeriSign for
information purposes only, and to assist persons in obtaining information
about or related to a domain name registration record. VeriSign does not
guarantee its accuracy. By submitting a Whois query, you agree to abide
by the following terms of use: You agree that you may use this Data only
for lawful purposes and that under no circumstances will you use this Data
to: (1) allow, enable, or otherwise support the transmission of mass
unsolicited, commercial advertising or solicitations via e-mail, telephone,
or facsimile; or (2) enable high volume, automated, electronic processes
that apply to VeriSign (or its computer systems). The compilation,
repackaging, dissemination or other use of this Data is expressly
prohibited without the prior written consent of VeriSign. You agree not to
use electronic processes that are automated and high-volume to access or
query the Whois database except as reasonably necessary to register
domain names or modify existing registrations. VeriSign reserves the right
to restrict your access to the Whois database in its sole discretion to ensure
operational stability. VeriSign may restrict or terminate your access to the
Whois database for failure to abide by these terms of use. VeriSign
reserves the right to modify these terms at any time.

The Registry database contains ONLY .COM, .NET, .EDU domains and
Registrars.
TF-Studio
На сайте с 17.08.2010
Offline
334
#1

есть готовые и очень много - зачем свое писать?

Всё ещё лучший способ заработка для белых сайтов: GoGetLinks (https://www.gogetlinks.net/?inv=fahbn8).
S
На сайте с 02.09.2009
Offline
106
#2
TF-Studio:
есть готовые и очень много - зачем свое писать?

Можете дать пример на готовый скрипт, который покажет хуиз данные facebook.com

Mik Foxi
На сайте с 02.03.2011
Offline
1076
#3
Stislov:
Можете дать пример на готовый скрипт, который покажет хуиз данные facebook.com

echo exec("whois facebook.com"); показывает.

Антибот, антиспам, веб файрвол, защита от накрутки поведенческих: https://antibot.cloud/ + партнерка, до 40$ с продажи.

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий