RBL check PHP library or API

Is there any PHP lib for common RBL checks to perform? Or maybe some sort of free API (up to 5000 check per month on diff IP's).

Comments

  • Did you contact Ratnakar Bank Limited to ask if they have a PHP library or API? :p

    Thanked by (1)legendary

    Artificial intelligence is no match for our natural stupidity.

    Time flies like an arrow; fruit flies like a banana.

  • @somik said:
    Did you contact Ratnakar Bank Limited to ask if they have a PHP library or API? :p

    Good one :)

  • skhronskhron Hosting Provider

    It seems your best bet is coding it yourself using dns_get_record function.

  • @skhron said:
    It seems your best bet is coding it yourself using dns_get_record function.

    Don't forget though that if your upstream DNS is ultimately public (e.g. google on 8.8.8.8) many RBL's place restrictions or block/throttle queries. You may need to also implement a private recursive resolver if you want to go that route.

  • skhronskhron Hosting Provider

    @cochon said:

    @skhron said:
    It seems your best bet is coding it yourself using dns_get_record function.

    Don't forget though that if your upstream DNS is ultimately public (e.g. google on 8.8.8.8) many RBL's place restrictions or block/throttle queries. You may need to also implement a private recursive resolver if you want to go that route.

    Not necessary to configure recursor, third party library for performing DNS queries may be used to access authoritive servers from PHP itself. It makes possible for using shared hosting environment.

Sign In or Register to comment.