mirror of
https://github.com/alexhopeoconnor/dnsmasq-webui.git
synced 2026-10-04 04:18:13 +10:00
- ASP.NET Core 9 Blazor Web App + Web API - Hosts file management (read/write, hosts(5) format) - DHCP static hosts (dhcp-host=, dnsmasq config) - DHCP leases (read-only, dnsmasq lease file format) - Reload and status commands (configurable) - Docker: standalone app image + Dockerfile.dnsmasq (app + dnsmasq) - docker-compose.test.yml: app + dhcp-client, testdata mount - Unit tests (Hosts, DhcpHost, Leases, DnsmasqConfig parsers) using testdata
10 lines
329 B
Plaintext
10 lines
329 B
Plaintext
# Config for the dnsmasq test container only (docker-compose.test.yml).
|
|
# DHCP-only; uses same testdata layout so app and dnsmasq share hosts, dhcp.conf, leases.
|
|
port=0
|
|
interface=eth0
|
|
bind-interfaces
|
|
dhcp-range=172.28.0.10,172.28.0.50,255.255.255.0,12h
|
|
dhcp-leasefile=/data/leases
|
|
conf-dir=/data/dnsmasq.d
|
|
addn-hosts=/data/hosts
|