NAME
Net::DNSServer::Cache - A Net::DNSServer::Base which implements a DNS Cache in memory to increase resolution speed and to follow rfcs.
SYNOPSIS
#!/usr/bin/perl -w -T
use strict;
use Net::DNSServer;
use Net::DNSServer::Cache;
my $resolver1 = new Net::DNSServer::Cache;
my $resolver2 = ... another resolver object ...;
run Net::DNSServer {
priority => [$resolver1,$resolver2],
};
DESCRIPTION
This resolver will cache responses that another module resolves complying with the corresponding TTL of the response. It cannot provide resolution for a request unless it already exists within its cache. Note: This resolver may not work properly with a forking server.
AUTHOR
Rob Brown, rob@roobik.com
SEE ALSO
COPYRIGHT
Copyright (c) 2001, Rob Brown. All rights reserved. Net::DNSServer is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
$Id: Cache.pm,v 1.8 2002/04/29 09:29:49 rob Exp $