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

How to assign specific RDAP server? #241

Open
woei66 opened this issue Jun 28, 2019 · 1 comment
Open

How to assign specific RDAP server? #241

woei66 opened this issue Jun 28, 2019 · 1 comment
Assignees
Milestone

Comments

@woei66
Copy link

woei66 commented Jun 28, 2019

Hi,

According to the document https://ipwhois.readthedocs.io/en/latest/_modules/ipwhois/rdap.html
There are multiple RDAP servers in the class and they are listed below.

I want to know how to assign a specific RDAP server for testing?
(For exampe, I setup a local RDAP server and I want to use the ipwhois tool to check if it's result is correct)
I didn't see any sub function to change the RIR_RDAP list.
Is anything that I missed?
Thank you.

`
BOOTSTRAP_URL = 'http://rdap.arin.net/bootstrap'

RIR_RDAP = {
'arin': {
'ip_url': 'http://rdap.arin.net/registry/ip/{0}',
'entity_url': 'http://rdap.arin.net/registry/entity/{0}'
},
'ripencc': {
'ip_url': 'http://rdap.db.ripe.net/ip/{0}',
'entity_url': 'http://rdap.db.ripe.net/entity/{0}'
},
'apnic': {
'ip_url': 'http://rdap.apnic.net/ip/{0}',
'entity_url': 'http://rdap.apnic.net/entity/{0}'
},
'lacnic': {
'ip_url': 'http://rdap.lacnic.net/rdap/ip/{0}',
'entity_url': 'http://rdap.lacnic.net/rdap/entity/{0}'
},
'afrinic': {
'ip_url': 'http://rdap.afrinic.net/rdap/ip/{0}',
'entity_url': 'http://rdap.afrinic.net/rdap/entity/{0}'
}
}`

@secynic secynic self-assigned this Jul 29, 2019
@secynic
Copy link
Owner

secynic commented Jul 29, 2019

This isn't currently a feature. I can look at adding it. You can try modifying entries in that list in the meantime.

@secynic secynic added this to the 1.3.0 milestone Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants