Files
pic/config/dhcp/dnsmasq.conf
T
Constantin 2277b11563 init
2025-09-12 23:04:52 +03:00

32 lines
624 B
Plaintext

# Personal Internet Cell - dnsmasq Configuration
# Provides DHCP and local DNS resolution
# Interface to listen on
interface=eth0
bind-interfaces
# DHCP configuration
dhcp-range=172.20.1.50,172.20.1.150,12h
dhcp-option=3,172.20.0.1 # Gateway
dhcp-option=6,172.20.0.2 # DNS server
dhcp-option=42,172.20.0.4 # NTP server
# DNS configuration
port=53
domain=local.cell
expand-hosts
local=/local.cell/
# DNS forwarding
server=8.8.8.8
server=1.1.1.1
# Cache size
cache-size=1000
# Logging
log-queries
log-dhcp
# Static leases (optional)
# dhcp-host=00:11:22:33:44:55,192.168.1.100,mydevice