--- lib/PXElator/dnsd.pm 2009/08/15 14:41:17 222 +++ lib/PXElator/dnsd.pm 2009/08/15 14:41:33 223 @@ -85,7 +85,13 @@ warn "rcode: $rcode ",dump( @ans ); $audit->{rcode} = $rcode; - $audit->{ans} = [ @ans ]; + $audit->{ans} = [ map { + my $data; + foreach my $n ( keys %$_ ) { + $data->{$n} = $_->{$n}; + } + $data; + } @ans ]; CouchDB::audit( 'response', $audit );