PDNS Recursor, Lua Scripting, Binary data
Brian Sullivan <[email protected]> Mon, 1 Jul 2019 09:47:23 -0400
| Newsgroups | gmane.network.dns.powerdns.devel |
|---|---|
| Message-ID | <CAOq51QhakqpMErNDLtkNn+g9cYW9QC4TUYo2n-dNvbFg4UKiEg@mail.gmail.com> |
Hi, I am using EDNS in the query to send binary data from the client to an application using DNS Dist and Recursor with Lua processing. In the Lua script I am doing an HTTPS POST that is currently returning serialized data. I'd like to be able to send that binary data back to the client. So a couple of questions. Is it possible to send binary data in the TXT Record? Appears that the API is string only? I notice that somewhere, either recursor or dns dist, is creating an EDNS record in the response but with an RDLENGTH of 0. 00 00 29 02 00 00 00 00 00 00 00 Is it possible to create an EDNS record from the Lua script that gets sent back to the client? I could change the client and app to send base64 ... but wanted to pursue this option first. Regards, brian -- Brian M. Sullivan Senior Staff Security Intelligence Engineer [email protected] | www.lookout.com _______________________________________________ Pdns-dev mailing list [email protected] https://mailman.powerdns.com/mailman/listinfo/pdns-dev