<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><div data-html-editor-font-wrapper="true" style="font-family: arial, sans-serif; font-size: 13px;">Have you thought about using dnsdist as the proxy instead?  It's built specifically for this.  It also has lua scripting.  very fast.<br><br><br><br>September 21 2018 12:31 PM, "Chris Stradtman" <<a target="_blank" tabindex="-1" href="mailto:%22Chris%20Stradtman%22%20<chris.stradtman@geo.network>">chris.stradtman@geo.network</a>> wrote:<blockquote><div><div><div dir="ltr">If you feel comfortable with python, you could create a custom proxy using the twisted DNS package.<div>I did one for an unusual thing we were doing with DNS on a project we were working on.</div><div>In the end, it only took about a dozen lines to change flags in particular DNS responses and implement a cache.</div><div></div><div>Chris Stradtman</div><div></div><div></div></div> <div><div dir="ltr">On Fri, Sep 21, 2018 at 5:43 AM Michał Zając <<a target="_blank" tabindex="-1" rel="external nofollow" href="mailto:michal.zajac@dreamcommerce.com">michal.zajac@dreamcommerce.com</a>> wrote:</div> <blockquote style="margin: 0 0 0 .8ex;border-left: 1px #ccc solid;padding-left: 1ex">Hi.<br><br>21.09.2018 10:05 Chris Hofstaedtler <<a target="_blank" tabindex="-1" rel="external nofollow" href="mailto:chris.hofstaedtler@deduktiva.com">chris.hofstaedtler@deduktiva.com</a>> wrote:<br>><br>> Just add the code in pdns-server to modify outgoing answers using Lua.<br>> I’m sure that’d be a well-received feature.<br>><br><br>    "Just"… Anyone willing to do it for reasonable price to share it<br>with the community?<br><br>--<br>Greets, Michał Zając<br>_______________________________________________<br>Pdns-users mailing list<br><a target="_blank" tabindex="-1" rel="external nofollow" href="mailto:Pdns-users@mailman.powerdns.com">Pdns-users@mailman.powerdns.com</a><br><a rel="external nofollow" target="_blank" tabindex="-1" href="https://mailman.powerdns.com/mailman/listinfo/pdns-users">https://mailman.powerdns.com/mailman/listinfo/pdns-users</a></blockquote></div> <div></div>--<div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"></div></div><div dir="ltr"><img alt="" src="http://geo.network/assets/img/logo.png"></div></div></div></div></div></div></div></div></div></div></div></div></div></blockquote></div></body></html>