Re: Protocols.DNS.server anyone used it in a DNS server?

Chris Angelico <[email protected]> Thu, 8 Feb 2018 12:09:24 +1100
Newsgroups gmane.comp.lang.pike.devel,gmane.comp.lang.pike.user
Message-ID <CAPTjJmqJdp3zT+cW+quwz4dQHQE6YHBDmaUa0p5cf1hvPW9MSQ@mail.gmail.com>
On Thu, Feb 8, 2018 at 12:04 PM, Stephen R. van den Berg <[email protected]> wrote:
> Has anyone ever used Protocols.DNS.server in an application
> (to implement a mini-DNS server)?
> Is the code available?

Yep! Here's one that shares your /etc/hosts.

https://github.com/Rosuav/Hogan/blob/master/sharehosts.pike

It's built on top of an async I/O framework that I call "Hogan":

https://github.com/Rosuav/Hogan/blob/master/hogan.pike

That script is currently in use on my LAN as a means of tracking some
cool stats and things about DHCP and DNS.

ChrisA