Skip to content

gringolito/dnsmasq-manager

Repository files navigation

dnsmasq-manager

Dnsmasq DNS / DHCP management API

This project provides a RESTful API to manage some of the DHCP/DNS resources on a dnsmasq server, like:

  • Manage static DHCP entries
  • Manage static DNS entries
  • Manage CNAME aliases

TO-DO

MVP

  • Add authentication / authorization control over the routes
  • Improve logging with severity classified messages
  • Move routes to a /api/v1 prefix
  • Make the system configurable (maybe use Viper?)
  • Make the code release-ready (set gin properly and remove pretty JSON methods)
  • Create the systemd service files
  • Setup a CI pipeline
  • Create .deb deployable package (target at least to armv6)
    • .rpm, .apk, ArchLinux packages and tarball archives for all the main architectures (BONUS)
  • Create a OpenAI/Swagger documentation
  • Add unit tests

Phase-2

  • Manage static DNS entries
  • Manage CNAME alias