IPShield is a DNS server that checks IP addresses against the Firehol level 1 list and known datacenter IP ranges. This list is updated every 12 hours.
To check an IP address, send a DNS query to the IPShield server:
dig 8.8.8.8 @ipshield.dev +short
You can use this with almost any language/framework, I have added examples for popular languages in the examples folder on the projects GitHub repo.
You should probably use it within a private network if you really want to use it in production. Since the requests happen over DNS, it is not encrypted.
I am planning to implement Transaction Signatures (TSIG) for secure DNS server communications when I get some time, star the project if you wanna stay in the loop
This project is open source. For more information, visit the GitHub repository.
Built by Shivam Mishra.