Table of Contents |
---|
Endpoint
...
Looking for networks (CIDR-scanning)
If you need to look for ip-addresses, based on netmasking with a CIDR smaller than a /8, you can set an ip to look up for example thisaddresses in a larger network, without requesten each one manually, you can request a list with addresses for a specific CIDR-block. If a network is smaller than a CLASS A network (/8 CIDR-blocks, with a count of 16777216 addresses, consumes too much output data to be healthy for the system) the request will give a whole lot of results in the response.
It is only your imagination (or your network) that sets the search limit here, as long as you keep yourself over the CIDR-block limit. This feature does not exist in APIv2.
Code Block | ||||
---|---|---|---|---|
| ||||
{ "ip":["44.11.0.0/16"] } |
...
IPv6 support
For ipv6, something like this should work:
Code Block | ||||
---|---|---|---|---|
| ||||
{
"ip":["2001:41d0::/32"]
} |
As IPv6 networks are still friendlier the prefix length does not consume as much power as IPv4 ranges even if a /32-range in the IPv6 world is about 79228162514264337593543950336 addresses.
Can I add or delete CIDR-block based ranges?
No. Not in the current state. As the system is based on DNS requests, such API calls would fill the database with way too much information.
Exceptions
When the API find no blacklisted hosts
...