NAME

DNS::BL::Entry - An entry in a DNS black list

SYNOPSIS

  use DNS::BL::Entry;

DESCRIPTION

This is an internal class, used by DNS::BL. Supported methods are:

new()

Creates a new DNS::BL::Entry object, setting its time() to the current time and date.

clone()

Creates a new DNS::BL::Entry object with copies of all the values stored within the original.

addr([ip address])

Gets or sets the IP address or subnet this entry is supposed to match with. It will accept any string that NetAddr::IP would understand.

desc([description])

Gets or sets the description associated with this entry. Note that this text might be silently truncated by the storage backends.

value([value])

Gets or sets the value associated to this entry. This is optional and will default to 127.0.0.1 if left unspecified.

time([time and date of the entry])

Gets or sets the time and date of this entry, in the traditional "seconds since the epoch" unix time format. Defaults to the current time and date when the object is created.

EXPORT

None by default.

HISTORY

0.00_01

Original version; created by h2xs 1.22

SEE ALSO

Perl(1), DNS::BL(3), NetAddr::IP(3).

AUTHOR

Luis Muñoz, <luismunoz@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2004 by Luis Muñoz

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 150:

Non-ASCII character seen before =encoding in 'Muñoz,'. Assuming CP1252