Test::Instance::DNS - Mock DNS server for testing
my $t_i_dns = Test::Instance::DNS->new(
listen_addr => '127.0.0.1',
zone_file => 't/etc/db.example.com',
my $dns = Test::DNS->new(nameservers => ['127.0.0.1']);
$dns->is_a('example.com' => '192.0.2.1');
Provides a local mock DNS server usable for testing.
Tom Bloor <email@example.com>
Copyright 2018- Tom Bloor
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Test::Instance::DNS, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.