![]() |
![]()
| ![]() |
![]()
NAMENet::DNS::Resolver::Mock - Mock a DNS Resolver object for testing DESCRIPTIONA subclass of Net::DNS::Resolver which parses a zonefile for it's data source. Primarily for use in testing. SYNOPSISuse Net::DNS::Resolver::Mock; my $Resolver = Net::DNS::Resolver::Mock-new(); $Resolver->zonefile_read( $FileName ); # or $Resolver->zonefile_parse( $String ); PUBLIC METHODS
DEPENDENCIESNet::DNS::Resolver Net::DNS::Packet Net::DNS::Question Net::DNS::ZoneFile BUGSPlease report bugs via the github tracker. https://github.com/marcbradshaw/Net-DNS-Resolver-Mock/issues AUTHORSMarc Bradshaw, <marc@marcbradshaw.net> COPYRIGHTCopyright (c) 2017, Marc Bradshaw. LICENCEThis library is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
|