--- lib/PXElator/dnsd.pm 2010/01/23 18:05:37 481 +++ lib/PXElator/dnsd.pm 2010/01/23 18:31:14 482 @@ -6,7 +6,7 @@ use Net::DNS::Nameserver; use Net::DNS::Resolver; use Data::Dump qw/dump/; -use CouchDB; +use store; use server; use client; @@ -106,7 +106,7 @@ $data; } @ans ]; - CouchDB::audit( 'response', $audit ); + store::audit( 'response', $audit ); # mark the answer as authoritive (by setting the 'aa' flag return ($rcode, \@ans, \@auth, \@add, { aa => 1 }); @@ -122,7 +122,7 @@ Verbose => $debug, ) || die "couldn't create nameserver object\n"; - CouchDB::audit('start', { port => 53, domain => $server::domain }); + store::audit('start', { port => 53, domain => $server::domain }); warn "DNS $server::domain"; $ns->main_loop;