Skip to content

Generalized mechanism to query for IPs that may be blacklisted, whitelisted, etc..

Notifications You must be signed in to change notification settings

jeremybettis/dnslistquery

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

An event-based scriptable tool designed to (initially) check if an IP is on a blacklist.

While the current list is rather large, feel free to use your own.

Using dl_query.pl in a script:

    #!/bin/bash

    ./dl_query.pl $(hostname -i) > /dev/null

    if [ $? != 0 ]; then
        echo "We have a problem!"
    fi


Using dl_query.pl manually:

    ./dl_query.pl 74.125.113.27 | grep -v '^ok'

About

Generalized mechanism to query for IPs that may be blacklisted, whitelisted, etc..

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 100.0%