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

Problem with .ru zone #207

Closed
woodholly opened this issue Mar 27, 2024 · 3 comments · Fixed by #215
Closed

Problem with .ru zone #207

woodholly opened this issue Mar 27, 2024 · 3 comments · Fixed by #215

Comments

@woodholly
Copy link

Stopped working for .ru domains, problem started 2 weeks ago, no problem with other zones.

@belykhk
Copy link

belykhk commented Apr 2, 2024

Can confirm that there is issue with some (not all) domains used with RU_HOST = "whois.nic.ru". After downgrading to version 0.8.0 issue is not reproducible.

python-whois==0.8.0:

>>> import whois
>>> whois.whois("whois.ru")
{'domain_name': 'WHOIS.RU', 'registrar': 'SALENAMES-RU', 'creation_date': datetime.datetime(1999, 5, 14, 13, 58, 12), 'expiration_date': datetime.datetime(2024, 5, 31, 21, 0), 'name_servers': ['jessica.ns.cloudflare.com.', 'trey.ns.cloudflare.com.'], 'status': 'REGISTERED, DELEGATED, VERIFIED', 'emails': None, 'org': 'Domain name registrar SALENAMES LTD.'}

python-whois=0.9.3:

>>> import whois
>>> whois.whois("whois.ru")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/kgbelyh/.local/lib/python3.9/site-packages/whois/__init__.py", line 47, in whois
    entry = WhoisEntry.load(domain, text)
  File "/home/kgbelyh/.local/lib/python3.9/site-packages/whois/parser.py", line 202, in load
    return WhoisRu(domain, text)
  File "/home/kgbelyh/.local/lib/python3.9/site-packages/whois/parser.py", line 562, in __init__
    raise PywhoisError(text)
whois.parser.PywhoisError: No entries found for the selected source(s).

>>> Last update of WHOIS database: 2024.04.02T12:16:14Z <<<

@woodholly
Copy link
Author

Yes, 0.8.0 works.

@richardpenman
Copy link
Owner

PR welcome to fix this!

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

Successfully merging a pull request may close this issue.

3 participants