4 ms·
Looks cool, what was the motivation for writing another DHCP server - just for learning Rust or something else?
by jarym 4y ago
Looks cool, what was the motivation for writing another DHCP server - just for learning Rust or something else?
- ckdarby 4y agoFYI /u/leshow is the core contributor of this project. We've been doing Rust before this. We've rewritten some of our core components over to Rust. Discussed a bit in this post: https://medium.techatscale.com/open-heart-surgery-from-java-to-rust-88d042ad43e7 https://medium.techatscale.com/open-heart-surgery-from-java-... In terms of writing a DHCP server there was research looking through Github, and the conclusion was that there is a gap in the DHCP space. DHCPd was approaching EOL (and now is EOL). Others in the DHCP industry were calling for options, and it looked like Dora could potentially fill some of those asks: https://ns1.com/blog/isc-dhcp-is-eol-what-will-replace-it https://ns1.com/blog/isc-dhcp-is-eol-what-will-replace-it
- formerly_proven 4y agoI dunno about "another". After some issues with dnsmasq I went looking and there aren't actually a lot of open source DHCP servers. There's like dhcpd, dnsmasq and kea. (I actually contemplated writing my own dhcp server in Rust while debugging dnsmasq but felt like it's one of those real PITA kinds of projects. Managed to workaround whatever the dnsmasq problem was after a few hours.)
- wyuenho 4y agoDepending on your use case CoreDNS may also be an option.
- Already__Taken 4y agois there a plugin to serve DHCP I've missed?
- wyuenho 4y agohttps://github.com/nextdhcp/nextdhcp https://github.com/nextdhcp/nextdhcp
- Already__Taken 4y agowas currently writing a rust cli that's called by an incantation of dnsmasq --script my_bin but it's a nightmare to debug.