https://github.com/pfitzer/dnsbl
check ip for blacklisting
https://github.com/pfitzer/dnsbl
blacklisting dnsbl php
Last synced: 7 months ago
JSON representation
check ip for blacklisting
- Host: GitHub
- URL: https://github.com/pfitzer/dnsbl
- Owner: pfitzer
- License: mit
- Created: 2016-10-11T08:15:07.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-25T17:10:23.000Z (over 1 year ago)
- Last Synced: 2025-01-16T04:43:27.543Z (9 months ago)
- Topics: blacklisting, dnsbl, php
- Language: PHP
- Size: 23.4 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/pfitzer/dnsbl/actions/workflows/test.yml) [](https://codeclimate.com/github/pfitzer/dnsbl) [](https://codeclimate.com/github/pfitzer/dnsbl) [](https://packagist.org/packages/pfitzer/dnsbl)
## DNSBL
check ip for blacklistinginstall
-------
composer require pfitzer/dnsbl
```
"require": {
"pfitzer/dnsbl": "*"
}
```
usage
-----
```
$dnsbl = new Dnsbl();try {
$result = $dnsbl->lookup('127.0.0.1');
} catch (\InvalidArgumentException $e) {
# do something
}
```contribute
----------
feel free to do so#### install dev dependencies
```
composer install
```
#### run unit tests
```
docker build -t dnsbl
docker run --rm dnsbl
```