[prev in list] [next in list] [prev in thread] [next in thread] 

List:       unbound-users
Subject:    [Unbound-users] Getting Source IP address of DNS Request
From:       Mani Ramasubramani <srsmani () gmail ! com>
Date:       2013-01-09 0:48:45
Message-ID: CAD6uceyXE5ejQY_+ebQFOJbepk69=mZdVo9TYxujLFNU6o+kzw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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

[Attachment #5 (text/html)]

Hi,<br>=A0=A0=A0 I installed version 1.4.19 of unbound and enhanced the pyt=
hon 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 filt=
ering logic based on that ip address.<br>
<br>=A0=A0 I did not find the source ip address passed to the python script=
s in either module_qstate or query_info (or other structures). <br>=A0=A0 C=
ould you please point me to the data structure from which I can extract the=
 source IP address?<br>
<br>=A0=A0 Thanks much<br>=A0=A0 Mani<br>


_______________________________________________
Unbound-users mailing list
Unbound-users@unbound.net
http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic