Net::DNSServer::Base is a software that uses an in-memory DNS cache to improve resolution speed and adhere to relevant rfcs.
#!/usr/bin/perl -w -T
use strict;
use Net::DNSServer;
use Net::DNSServer::Cache;
Once the software is installed, it can be implemented using the code above. The code initializes two resolver objects with the first resolver object set to use the Net::DNSServer::Cache module. The program then uses the Net::DNSServer module to execute the code by organizing the resolver objects in order of priority within the program.
One of the primary functions of Net::DNSServer::Cache is to cache responses that another module resolves while conforming to the corresponding TTL of the response. However, the software cannot provide resolution for a request unless the request already exists within its cache.
Finally, it's important to note that this software may not work correctly with a forking server.
Version 0.11: N/A