package DNS::BL::cmds::add; use DNS::BL; use 5.006001; use strict; use warnings; use NetAddr::IP; use DNS::BL::cmds; use DNS::BL::Entry; use vars qw/@ISA/; @ISA = qw/DNS::BL::cmds/; use Carp; our $VERSION = '0.00_01'; $VERSION = eval $VERSION; # see L # Preloaded methods go here. =pod =head1 NAME DNS::BL::cmds::add - Add an entry to the database =head1 SYNOPSIS use DNS::BL::cmds::add; =head1 DESCRIPTION This module implements the B command, used to include entries into a DNSBL managed by L. The general syntax of this command, is as follows add ip [code ] [text ] [time ] where each argument has the following function: =over 4 =item Bip-addressE> Specifies which IP address or network this command refers to. Essentially, anything that L will understand. =item Breturn-codeE> The value returned by the DNSBL when a match with this entry is found. Usually, this is something that can be returned in a DNS A RR, an IP address. If not specified, '127.0.0.1' will be used as a default. =item BtextE> The text associated with this entry in the DNSBL. Usually this is associated with a DNS TXT RR. Defaults to an empty string. =item B