add parameter for LAN domain
parent
8a1ff9118a
commit
36195c365c
|
@ -1,8 +1,8 @@
|
|||
config dnsmasq
|
||||
option domainneeded '1'
|
||||
option localise_queries '1'
|
||||
option local '/home/'
|
||||
option domain 'home'
|
||||
option local "/${LAN_DOMAIN}/"
|
||||
option domain "${LAN_DOMAIN}"
|
||||
option expandhosts '1'
|
||||
option authoritative '1'
|
||||
option readethers '1'
|
||||
|
|
|
@ -11,7 +11,9 @@ WAN_PARENT=enp0s20f0u4
|
|||
WAN_SUBNET=192.168.12.0/24
|
||||
UPSTREAM_DNS_SERVER=192.168.12.2
|
||||
|
||||
# lan
|
||||
LAN_NAME=openwrt-lan
|
||||
LAN_DOMAIN=home
|
||||
LAN_SUBNET=192.168.16.0/24
|
||||
LAN_ADDR=192.168.16.2
|
||||
LAN_HOST=192.168.16.1
|
||||
|
|
Loading…
Reference in New Issue