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

Add .li RDAP server override #21

Merged
merged 1 commit into from
Aug 21, 2023
Merged

Add .li RDAP server override #21

merged 1 commit into from
Aug 21, 2023

Conversation

droe
Copy link
Contributor

@droe droe commented Aug 21, 2023

Add override for .li:

>>> import whoisit
>>> whoisit.bootstrap(overrides=True)
True
>>> whoisit.domain('nic.li')
{'handle': 'NIC.LI', 'parent_handle': '', 'name': 'nic.li', 'whois_server': '', 'type': 'domain', 'terms_of_service_url': '', 'copyright_notice': '', 'description': [], 'last_changed_date': None, 'registration_date': None, 'expiration_date': None, 'url': '', 'rir': '', 'entities': {'registrar': [{'url': 'https://gandi.net', 'type': 'entity', 'name': 'Gandi SAS'}]}, 'nameservers': [], 'status': ['inactive'], 'dnssec': False}

@meeb meeb merged commit 32d4a35 into meeb:main Aug 21, 2023
@meeb
Copy link
Owner

meeb commented Aug 21, 2023

Thanks! Looks good.

@case
Copy link
Contributor

case commented Aug 21, 2023

Good catch! Fwiw, you could also move this under .ch because SWITCH manages both TLDs:

https://en.wikipedia.org/wiki/SWITCH_Information_Technology_Services

meeb added a commit that referenced this pull request Aug 21, 2023
@meeb
Copy link
Owner

meeb commented Aug 21, 2023

Cheers @case, shuffled it around. I'll leave the override RDAP hostname though even if it does appear to also work on the .ch domain - might as well leave the .li lookups on nic.li even if it's just an alias.

@meeb
Copy link
Owner

meeb commented Aug 21, 2023

Bundled into the 2.7.2 release.

@droe droe deleted the fix/li-override branch August 27, 2023 19:06
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 this pull request may close these issues.

3 participants