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

WIP: Whois bar, Domain Lookup #234

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

rsolovyeaws
Copy link
Contributor

Можно добавить функционал проверки имени домена. #230

Первоначальная загрузка сайта:
image
Проверка занятого домена:
image
Проверка свободного домена:
image
Недопустимый ULR:
image

  • Библиотека whois проверяет доступность домена.

Библиотека whois возвращает много инфы, но на сайтах регистраторов, подобный функционал не показывает ничего лишнего:

print(whois.whois("google.com"))
{
"domain_name": [
"GOOGLE.COM",
"google.com"
],
"registrar": "MarkMonitor, Inc.",
"whois_server": "whois.markmonitor.com",
"referral_url": null,
"updated_date": [
"2019-09-09 15:39:04",
"2019-09-09 15:39:04+00:00"
],
"creation_date": [
"1997-09-15 04:00:00",
"1997-09-15 07:00:00+00:00"
],
"expiration_date": [
"2028-09-14 04:00:00",
"2028-09-13 07:00:00+00:00"
],
"name_servers": [
"NS1.GOOGLE.COM",
"NS2.GOOGLE.COM",
"NS3.GOOGLE.COM",
"NS4.GOOGLE.COM",
"ns3.google.com",
"ns4.google.com",
"ns1.google.com",
"ns2.google.com"
],
"status": [
"clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited",
"clientTransferProhibited https://icann.org/epp#clientTransferProhibited",
"clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited",
"serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited",
"serverTransferProhibited https://icann.org/epp#serverTransferProhibited",
"serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited",
"clientUpdateProhibited (https://www.icann.org/epp#clientUpdateProhibited)",
"clientTransferProhibited (https://www.icann.org/epp#clientTransferProhibited)",
"clientDeleteProhibited (https://www.icann.org/epp#clientDeleteProhibited)",
"serverUpdateProhibited (https://www.icann.org/epp#serverUpdateProhibited)",
"serverTransferProhibited (https://www.icann.org/epp#serverTransferProhibited)",
"serverDeleteProhibited (https://www.icann.org/epp#serverDeleteProhibited)"
],
"emails": [
"[email protected]",
"[email protected]"
],
"dnssec": "unsigned",
"name": null,
"org": "Google LLC",
"address": null,
"city": null,
"state": "CA",
"registrant_postal_code": null,
"country": "US"
}

Closes #230

@rsolovyeaws rsolovyeaws requested a review from a team as a code owner January 17, 2024 13:10
@rsolovyeaws rsolovyeaws requested review from SergeAvgust, t1ooo, aleksey-vasilev, yogorus and mrezvova and removed request for a team January 17, 2024 13:10
@rsolovyeaws rsolovyeaws changed the title Whois bar, Domain Lookup WIP: Whois bar, Domain Lookup Jan 20, 2024
@aleksey-rezvov
Copy link
Contributor

@Matievich предложи, пожалуйста, UI для фичи

@rsolovyeaws
Copy link
Contributor Author

rsolovyeaws commented Jan 22, 2024

Вот пример megahost.ru, у них довольно обшираная выдача результатов whois.

На главной странице ссылка на whois

image

Проверка домена:

image

Домен c разными TLD:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants