Skip to content

Commit

Permalink
Add AfriNIC WHOIS query
Browse files Browse the repository at this point in the history
Took me a while to find.
  • Loading branch information
QEDK committed Feb 16, 2015
1 parent 2ef59cc commit 6c1cca4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public_html/gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def format_result(result):
providers = {
'ARIN': lambda x: 'http://whois.arin.net/rest/ip/' + x,
'RIPE': lambda x: 'https://apps.db.ripe.net/search/query.html?searchtext=%s#resultsAnchor' % x,
'AFRINIC': lambda x: 'http://afrinic.net/cgi-bin/whois?searchtext=' + x,
'APNIC': lambda x: 'http://wq.apnic.net/apnic-bin/whois.pl?searchtext=' + x,
'LACNIC': lambda x: 'http://lacnic.net/cgi-bin/lacnic/whois?lg=EN&query=' + x
}
Expand Down

0 comments on commit 6c1cca4

Please sign in to comment.