lib/dnsbl/client.rb
# allows the adding of a new DNSBL to the set of configured DNSBLs
allows the adding of a new DNSBL to the set of configured DNSBLs
allows the adding of a new DNSBL to the set of configured DNSBLs
def add_dnsbl(name,domain,type='ip',codes={"0"=>"OK","127.0.0.2"=>"Blacklisted"})
			@dnsbls[name] = codes
			@dnsbls[name]['domain'] = domain
			@dnsbls[name]['type'] = type
		end
def add_dnsbl ( name , domain , type = 'ip' , codes = { "0" => "OK" , "127.0.0.2" => "Blacklisted" } ) @dnsbls [ name ] = codes @dnsbls [ name ] [ 'domain' ] = domain @dnsbls [ name ] [ 'type' ] = type end
allows the adding of a new DNSBL to the set of configured DNSBLs
allows the adding of a new DNSBL to the set of configured DNSBLs
name
<not_specific>
domain
<not_specific>
type
<not_specific>
codes
<not_specific>