You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 86da8e8
Browse filesBrowse the repository at this point in the historyBrowse files
Refuse a lookup of anything but an IP address before sending it
The API answers an AS or a domain at the lookup's own path, and that answer
is not a lookup's, so sending one came back as three retried server errors
the caller could do nothing with. lookup now refuses it with a bad_request
naming lookup_asn and lookup_domain, before anything is sent. A batch still
sends what it is given, and the API answers each entry for itself.
On a paid plan an AS answer also carries its Whois record, its counts and every prefix it announces, and a domain answer its DNS records, its organization's IP ranges and `is_disposable`. Neither is cached, and neither goes through the batch.
171
+
On a paid plan an AS answer also carries its Whois record, its counts and every prefix it announces, and a domain answer its DNS records, its organization's IP ranges and `is_disposable`. Neither is cached, and neither goes through the batch.`lookup` takes addresses alone, and refuses an AS or a domain with a `bad_request` before sending anything.
0 commit comments