aboutsummaryrefslogtreecommitdiffstats
path: root/freedom-maker/source/etc/dnsmasq.conf
blob: 71403d7539663a1cde6792a64a89d308c0510d46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
log-facility=DAEMON

local=/fbx/
local=/freedombox/

# Upstream DNS server
# FIXME this should be updated on boot.
server=192.168.0.1@eth1

# We will serve this DNS domain
# (DHCP hosts will receive a .lan suffix in DNS)
domain=lan

# We're the authoritative dhcpd
# Read the manpage for a good explanation of what this does
dhcp-authoritative

# We are going to serve hosts for:
# - LAN (192.168.1.0/24) (Only static hosts)
# - WLAN (192.168.2.0/24)
# New clients will receive an IP from the WLAN range.

dhcp-range=interface:eth0,set:lan,192.168.1.10,192.168.1.100,255.255.255.0,2h
# dhcp-range=interface:uap0,set:lan,192.168.2.10,192.168.2.100,255.255.255.0,2h