<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>Some may find “lbnamed” interesting, a dns server in Perl. </div><div><br></div><div><a href="https://web.stanford.edu/~riepel/lbnamed/bof.talk/">https://web.stanford.edu/~riepel/lbnamed/bof.talk/</a></div><div><br></div><div>We used it at UUNET Canada many years ago as a distributed database for “POP before SMTP”.</div><div><br></div><div>Cheers</div><div><br></div><div>John </div><div><br>On Jan 29, 2018, at 11:12 AM, "<a href="mailto:bob+kwlug@softscape.ca">bob+kwlug@softscape.ca</a>" <<a href="mailto:bob+kwlug@softscape.ca">bob+kwlug@softscape.ca</a>> wrote:<br><br></div><blockquote type="cite"><div><blockquote type="cite"><span>I had to write my own.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>As far as I know, there's no way to get bind9 / named to respond to such</span><br></blockquote><blockquote type="cite"><span>a query in the desired manner.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>If anyone knows a way, let me know!</span><br></blockquote><span></span><br><span>Not in bind9, but there seems to be a way to script a back-end in PowerDNS using the pipe backend feature.</span><br><span></span><br><span></span><br><blockquote type="cite"><span>And it was a rather surprisingly difficult task. I expected to watch</span><br></blockquote><blockquote type="cite"><span>incoming queries for some text like, "my.ip" and simply spit out the</span><br></blockquote><blockquote type="cite"><span>query source's IP address.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>I was so young, dumb, and naïve way back then, in 2017...</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>It's all binary packed bytes, so '\x02my\x02ip\x00' to find "my.ip",</span><br></blockquote><blockquote type="cite"><span>plus headers of course.</span><br></blockquote><span></span><br><span>Did you modify named itself with your custom code? What's actually listening on port 53 on your server here?!?</span><br><span></span><br><span>BB</span><br><span></span><br><span></span><br><span></span><br><span>_______________________________________________</span><br><span>kwlug-disc mailing list</span><br><span><a href="mailto:kwlug-disc@kwlug.org">kwlug-disc@kwlug.org</a></span><br><span><a href="http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org">http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org</a></span><br></div></blockquote></body></html>