Sha256: b17de378baff85e211c4d7f920b171263ccdf11874f6465024f8d5dfc7af746b

Contents?: true

Size: 1.29 KB

Versions: 8

Compression:

Stored size: 1.29 KB

Contents

= dnsbl-client

dnsbl-client queries DNS Blacklists for listings. Currently this only does IP lookups, but the next version will handle domains.

	require "dnsbl-client"
	c = DNSBL::Client.new 
	c.lookup("203.150.14.85")
	=> [#<struct DNSBL::DNSBLResult dnsbl="UCEPROTECT1", query="85.14.150.203.dnsbl-1.uceprotect.net", result="127.0.0.2", meaning="Blacklisted", timing=0.0247988700866699>, #<struct DNSBL::DNSBLResult dnsbl="BARRACUDA", query="85.14.150.203.b.barracudacentral.org", result="127.0.0.2", meaning="Listed", timing=0.0266849994659424>]
	
== Contributing to dnsbl-client
 
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
* Fork the project
* Start a feature/bugfix branch
* Commit and push until you are happy with your contribution
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

== Copyright

Copyright (c) 2011 Chris Lee. See LICENSE.txt for
further details.

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dnsbl-client-0.3.1 README.rdoc
dnsbl-client-0.3.0 README.rdoc
dnsbl-client-0.2.4 README.rdoc
dnsbl-client-0.2.3 README.rdoc
dnsbl-client-0.2.1 README.rdoc
dnsbl-client-0.2.0 README.rdoc
dnsbl-client-0.1.2 README.rdoc
dnsbl-client-0.1.1 README.rdoc