/[pxelator]/lib/PXElator/dnsd.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/PXElator/dnsd.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 211 by dpavlin, Thu Aug 13 12:00:51 2009 UTC revision 232 by dpavlin, Sun Aug 16 22:51:57 2009 UTC
# Line 85  warn "## ",dump( $ptr_cache ); Line 85  warn "## ",dump( $ptr_cache );
85          warn "rcode: $rcode ",dump( @ans );          warn "rcode: $rcode ",dump( @ans );
86    
87          $audit->{rcode} = $rcode;          $audit->{rcode} = $rcode;
88          $audit->{ans} = [ @ans ];          $audit->{ans} = [ map {
89                    my $data;
90                    foreach my $n ( keys %$_ ) {
91                            $data->{$n} = $_->{$n};
92                    }
93                    $data;
94            } @ans ];
95    
96          CouchDB::audit( 'response', $audit );          CouchDB::audit( 'response', $audit );
97    
# Line 100  sub start { Line 106  sub start {
106                  Verbose      => $debug,                  Verbose      => $debug,
107          ) || die "couldn't create nameserver object\n";          ) || die "couldn't create nameserver object\n";
108    
109          CouchDB::audit('start', { listen => { port => 53, domain_name => $server::domain_name } });          CouchDB::audit('start', { port => 53, domain_name => $server::domain_name });
110          warn "DNS $server::domain_name";          warn "DNS $server::domain_name";
111    
112          $ns->main_loop;          $ns->main_loop;

Legend:
Removed from v.211  
changed lines
  Added in v.232

  ViewVC Help
Powered by ViewVC 1.1.26