
Net::DNS::Method::Constant - Provides constant answers to queries

use Net::DNS::Method;
use Net::DNS::Method::Constant;
my $c = new Net::DNS::Method::Constant ('domain.com', 'IN', 'A',
'IN A 127.0.0.1');

For any question matching the domain, class and type supplied, this module responds with an authoritative answer containing the specified RR.
The response RR will be built using the partial data passed as the fourth parameter to ->new(). The query name will be used to build a Net::DNS::RR object, which will be put in the answer section of the response.

$Id: Constant.pm,v 1.2 2002/10/23 04:43:58 lem Exp $
AUTOLOAD to support any RR that Net::DNS supports. Note that only uppercase names are dynamically created, as this is assumed to be the name of an RR.
Luis E. Munoz <luismunoz@cpan.org>

perl(1), Net::DNS, Net::DNS::RR, Net::DNS::Method.