Use this as your search field:
You get about 30,700 returns from Google. Those on the first page include this selection:
There's nothing stopping you from storing the IPs in your database and reading the list to be banned from it. Long term management becomes far easier when you think along these lines.