|
发表于 2019-8-13 23:55:06
|
显示全部楼层
1. /etc/dnsmasq.conf
pid-file=/var/run/dnsmasq.pid
user=nobody
bind-dynamic
interface=br0
interface=pptp*
no-dhcp-interface=pptp*
no-resolv
servers-file=/tmp/resolv.dnsmasq
no-poll
no-negcache
cache-size=1500
min-port=4096
domain=lan
expand-hosts
bogus-priv
domain-needed
local=/lan/
dhcp-range=lan,192.168.1.2,192.168.1.254,255.255.255.0,86400s
dhcp-option=lan,3,192.168.1.1
dhcp-option=lan,15,lan
dhcp-option=lan,252,"\n"
dhcp-authoritative
addn-hosts=/etc/hosts.dnsmasq
dhcp-host=A8:A6:48:0A:2D:0C,192.168.1.99
dhcp-host=28:57:BE C:80:48,192.168.1.64
dhcp-host=44 9:E7:90 2:CB,192.168.1.51
dhcp-host=44 9:E7:90 7:99,192.168.1.50
dhcp-host=00:08:9B:C4:88 0,192.168.1.19
dhcp-host=24:5E:BE:27:47:7F,192.168.1.18
dhcp-host=10:7B:44:EB:2B:72,192.168.1.7
dhcp-script=/sbin/dhcpc_lease
script-arp
dhcp-name-match=set:wpad-ignore,wpad
dhcp-ignore-names=tag:wpad-ignore
addn-hosts=/jffs/configs/hosts
conf-dir=/tmp/mnt/ASUS_ROUTER/etc/dnsmasq.d,.bak
2. /opt/etc/dnsmasq.d/dnsmasq_extended.conf这个文件没有
3. /opt/etc/dnsmasq.d/目录下只有vlmcsd.conf
srv-host=_vlmcs._tcp.lan,RT-AX88U.lan,1688,0,100
4. /opt/etc/hosts.dnsmasq
192.168.1.1 RT-AX88U
5. /etc/hosts
这个我加了https://github.com/neofelhz/neohosts,太大了,如有必要我再上传。
|
|