Maintained by: NLnet Labs

[Unbound-users] Getting Source IP address of DNS Request

Mani Ramasubramani
Wed Jan 9 01:48:45 CET 2013


Hi,
    I installed version 1.4.19 of unbound and enhanced the python log
examples. I would like to extract the source IP address of the DNS
requestor (the ip address on which the request came on) and apply some
filtering logic based on that ip address.

   I did not find the source ip address passed to the python scripts in
either module_qstate or query_info (or other structures).
   Could you please point me to the data structure from which I can extract
the source IP address?

   Thanks much
   Mani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://unbound.nlnetlabs.nl/pipermail/unbound-users/attachments/20130108/bc5c5df7/attachment.html>