Hello again,

> On Mar 19, 2019, at 2:19 PM, Jonathan Reed <jreed...@gmail.com> wrote:
> 
> Winfried provided some help to me a few months back by pointing out that the 
> Protobuf example code is located in the pdns repo.
> https://github.com/PowerDNS/pdns/blob/master/contrib/ProtobufLogger.py 
> <https://github.com/PowerDNS/pdns/blob/master/contrib/ProtobufLogger.py>
> 
> I was able to customize that to format the logs into something we were happy 
> with. Only thing I didn't get working was showing the response name, (rr.name 
> <http://rr.name/>) in the log  file. 

Thanks again for that pointer.  I am happily logging now.

Here is a related question.  How trivial would it be to log client port number? 
 I see client IP address, but I couldn't see anything related to port number, 
and it wasn't immediately apparent how I might do that.

Thanks,
Casey
_______________________________________________
dnsdist mailing list
dnsdist@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/dnsdist

Reply via email to