62 lines
1.5 KiB
Text
62 lines
1.5 KiB
Text
config dnsmasq
|
|
option domainneeded '1'
|
|
option localise_queries '1'
|
|
option rebind_protection '1'
|
|
option rebind_localhost '1'
|
|
option expandhosts '1'
|
|
option cachesize '1000'
|
|
# Must be larger than limits for interfaces.
|
|
option dhcpleasemax '1024'
|
|
option authoritative '1'
|
|
option readethers '1'
|
|
option leasefile '/tmp/dhcp.leases'
|
|
option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
|
|
option localservice '1'
|
|
option ednspacket_max '1232'
|
|
list interface 'lan'
|
|
|
|
config dhcp 'lan'
|
|
option interface 'lan'
|
|
option start '1'
|
|
# 1/4 of the subnet space.
|
|
# The rest is reserved for other uses.
|
|
option limit '1021'
|
|
option leasetime '24h'
|
|
option dhcpv4 'server'
|
|
option dhcpv6 'server'
|
|
option ra 'server'
|
|
list ra_flags 'managed-config'
|
|
list ra_flags 'other-config'
|
|
|
|
config dhcp 'wan'
|
|
option interface 'wan'
|
|
option ignore '1'
|
|
|
|
config odhcpd 'odhcpd'
|
|
option maindhcp '0'
|
|
option leasefile '/tmp/hosts/odhcpd'
|
|
option leasetrigger '/usr/sbin/odhcpd-update'
|
|
option loglevel '4'
|
|
|
|
###
|
|
# STATIC LEASES
|
|
###
|
|
|
|
### ingress.tjo.cloud
|
|
config host
|
|
option name 'nevaroo.ingress.tjo.cloud'
|
|
option ip '10.0.49.171'
|
|
option mac 'AA:BB:07:00:45:36'
|
|
option duid '00020000AB11737DBD064C59B945'
|
|
|
|
config host
|
|
option name 'jakuu.ingress.tjo.cloud'
|
|
option ip '10.0.35.19'
|
|
option mac 'AA:BB:07:00:8A:AF'
|
|
option duid '00020000ab1172c7a6dd4f3307d3'
|
|
|
|
config host
|
|
option name 'batuu.ingress.tjo.cloud'
|
|
option ip '10.0.19.126'
|
|
option mac 'AA:BB:07:00:F7:37'
|
|
option duid '00020000AB1175B0A5597B06BA82'
|