<div dir="ltr"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Hello PowerDNS team,</div></div><div><br></div><div>Thanks for great product! </div><div><br></div><div>I wish to store DNS queries to DB for reporting. Using protobufServer settings, I am able to get protobuf message. However, I wish to add deviceId (or additional EDNS values).</div><div><br></div><div>I am adding device macaddr & cpe-id using dnsmasq. I am able to get these values in preresolve lua script as shown below.</div><div><br></div><div><div> local macaddr=dq:getEDNSOption(65073)</div><div> local cpeid=dq:getEDNSOption(65074)</div></div><div><br></div><div>I am having a problem with getting these EDNS values to protobuf message. Either I should be able to update deviceID in preresolve (which I am not ) or add EDNS values in some way.</div><div><br></div><div>I also tried addPolicyTags API, however, that does not forward the values.</div><div><br></div><div>Any help here will be greatly appreciated.</div><div><br></div><div>Using: PowerDNS 4.1.1 on Ubuntu. Logstash as protobuf receiver.</div><div><br></div><div>Regards,</div><div>Mangesh </div><div><br></div></div></div></div></div></div></div></div></div></div></div></div>
</div>