Net::DNSServer::DBI is a SQL backend for resolving DNS queries.
SYNOPSIS
#!/usr/bin/perl -w
use strict;
use Net::DNSServer;
use Net::DNSServer::DBI;
my $dbi_resolver = new Net::DNSServer::DBI {
connect => [ dbi connect args ... ],
default_ttl => "3600",
default_serial => "2002040100",
default_nameservers => [ qw(ns.isp.com) ],
};
run Net::DNSServer {
priority => [ $dbi_resolver ],
};
This resolver translates a DNS query into an SQL query. The answer from the SQL server is translated back into a DNS response and sent to the DNS client.
This module requires an external database server to be running and the DBI / DBD::* API Interface to the SQL database server to be installed. The external database server may run on the same machine as the name server, (localhost), or it may run on a separate machine or database cluster for increased scalability and/or fault tolerance.
Product's homepage
Requirements:
· Perl