mirror of
https://github.com/alexhopeoconnor/dnsmasq-webui.git
synced 2026-10-03 22:12:00 +10:00
WIP: layout, status, hosts, dhcp, error pages and tests
This commit is contained in:
Vendored
+18
-3
@@ -1,12 +1,27 @@
|
||||
# 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
|
||||
# DNS + DHCP: forwards DNS to Cloudflare/Google with caching; hands out DHCP on testnet.
|
||||
# Uses same testdata layout so app and dnsmasq share hosts, dhcp.conf, leases.
|
||||
port=53
|
||||
interface=eth0
|
||||
bind-interfaces
|
||||
|
||||
# Upstream DNS (forward queries not in cache/hosts to these)
|
||||
server=1.1.1.1
|
||||
server=8.8.8.8
|
||||
no-resolv
|
||||
# Caching
|
||||
cache-size=1000
|
||||
# Typical options
|
||||
domain-needed
|
||||
bogus-priv
|
||||
|
||||
# DHCP
|
||||
dhcp-range=172.28.0.10,172.28.0.50,255.255.255.0,12h
|
||||
dhcp-leasefile=/data/leases
|
||||
# Additional config and hosts
|
||||
conf-dir=/data/dnsmasq.d
|
||||
addn-hosts=/data/hosts
|
||||
|
||||
# Log to file so the harness can show real logs (LogsCommand tails this)
|
||||
log-facility=/data/dnsmasq.log
|
||||
log-queries
|
||||
log-queries
|
||||
Reference in New Issue
Block a user