https://github.com/0xpixelninja/dhcp-rest-api
A FastAPI-powered REST API for managing ISC DHCP Server configurations.
https://github.com/0xpixelninja/dhcp-rest-api
configuration-management fastapi isc-dhcp-server python
Last synced: about 2 months ago
JSON representation
A FastAPI-powered REST API for managing ISC DHCP Server configurations.
- Host: GitHub
- URL: https://github.com/0xpixelninja/dhcp-rest-api
- Owner: 0xPixelNinja
- License: mit
- Created: 2025-03-05T20:17:37.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2025-03-05T21:41:47.000Z (about 2 months ago)
- Last Synced: 2025-03-05T21:53:41.794Z (about 2 months ago)
- Topics: configuration-management, fastapi, isc-dhcp-server, python
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DHCP REST API
This project provides a RESTful API interface for managing ISC DHCP server configurations, allowing you to easily create, update, delete, and list DHCP hosts and network interfaces.
## Quick Links
- [Configuration](CONFIGURATION.md) – Setup and environment details.
- [Usage](USAGE.md) – How to run and interact with the API.
- [Contributing](CONTRIBUTING.md) – Guidelines for contributing to the project.
- [Changelog](CHANGELOG.md) – Record of changes and updates.## Overview
This project is built with Python and FastAPI. It secures endpoints with token-based authentication and wraps two primary configuration files:
- **DHCP Configuration:** Typically located at `/etc/dhcp/dhcpd.conf`.
- **Interface Configuration:** By default, this is located at `/etc/default/isc-dhcp-server`.I made this project, for automating the DHCP configurations remotely via API, without accessing the PVE shell