|
本帖最后由 tsyyyq 于 2017-7-1 11:10 编辑
楼主,我用的是padavan,刷入了4合一那个,用putty连接后执行,提示permission denied,!!!,后来我在路由器的固件里找到个自定义脚本 的窗口,加入了启动后运行脚本:/etc/dnsmasq-all.sh,重启后测试发现仍不能解析,ping谷歌IP为123.129.254.12,访问超时,检查路由器日志如下(求指点):
Jul 1 10:51:04 dnsmasq[1349]: exiting on receipt of SIGTERM
Jul 1 10:51:04 dnsmasq[1769]: started, version 2.76 cachesize 512
Jul 1 10:51:04 dnsmasq[1769]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua no-TFTP no-conntrack ipset no-auth no-DNSSEC no-loop-detect no-inotify
Jul 1 10:51:04 dnsmasq-dhcp[1769]: DHCP, IP range 192.168.123.2 -- 192.168.123.244, lease time 1d
Jul 1 10:51:04 dnsmasq-dhcp[1769]: DHCP, sockets bound exclusively to interface br0
Jul 1 10:51:04 dnsmasq[1769]: read /etc/hosts - 3 addresses
Jul 1 10:51:04 dnsmasq[1769]: read etc/storage/dnsmasq/adblock/yhosts.conf - 6385 addresses
Jul 1 10:51:04 dnsmasq[1769]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:04 dnsmasq[1769]: read etc/storage/dnsmasq/adblock/yhosts.conf - 6385 addresses
Jul 1 10:51:04 dnsmasq[1769]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:04 dnsmasq[1769]: read etc/storage/dnsmasq/adblock/yhosts.conf - 6385 addresses
Jul 1 10:51:04 dnsmasq[1769]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:05 dnsmasq[1769]: read etc/storage/dnsmasq/adblock/yhosts.conf - 6385 addresses
Jul 1 10:51:05 dnsmasq[1769]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:05 dnsmasq[1769]: read /etc/storage/dnsmasq/hosts - 0 addresses
Jul 1 10:51:05 dnsmasq-dhcp[1769]: read /etc/dnsmasq/dhcp/dhcp-hosts.rc
Jul 1 10:51:05 dnsmasq[1769]: exiting on receipt of SIGTERM
Jul 1 10:51:06 dnsmasq[1803]: started, version 2.76 cachesize 512
Jul 1 10:51:06 dnsmasq[1803]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua no-TFTP no-conntrack ipset no-auth no-DNSSEC no-loop-detect no-inotify
Jul 1 10:51:06 dnsmasq-dhcp[1803]: DHCP, IP range 192.168.123.2 -- 192.168.123.244, lease time 1d
Jul 1 10:51:06 dnsmasq-dhcp[1803]: DHCP, sockets bound exclusively to interface br0
Jul 1 10:51:06 dnsmasq[1803]: read /etc/hosts - 3 addresses
Jul 1 10:51:06 dnsmasq[1803]: read etc/storage/dnsmasq/adblock/yhosts.conf - 0 addresses
Jul 1 10:51:06 dnsmasq[1803]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:06 dnsmasq[1803]: read etc/storage/dnsmasq/adblock/yhosts.conf - 0 addresses
Jul 1 10:51:06 dnsmasq[1803]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:06 dnsmasq[1803]: read etc/storage/dnsmasq/adblock/yhosts.conf - 0 addresses
Jul 1 10:51:06 dnsmasq[1803]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:06 dnsmasq[1803]: read etc/storage/dnsmasq/adblock/yhosts.conf - 0 addresses
Jul 1 10:51:06 dnsmasq[1803]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:06 dnsmasq[1803]: read /etc/storage/dnsmasq/hosts - 0 addresses
Jul 1 10:51:06 dnsmasq-dhcp[1803]: read /etc/dnsmasq/dhcp/dhcp-hosts.rc
Jul 1 10:51:06 dnsmasq[1803]: using 18 more nameservers
Jul 1 10:51:06 dnsmasq[1803]: exiting on receipt of SIGTERM
Jul 1 10:51:07 dnsmasq[1816]: started, version 2.76 cachesize 512
Jul 1 10:51:07 dnsmasq[1816]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua no-TFTP no-conntrack ipset no-auth no-DNSSEC no-loop-detect no-inotify
Jul 1 10:51:07 dnsmasq-dhcp[1816]: DHCP, IP range 192.168.123.2 -- 192.168.123.244, lease time 1d
Jul 1 10:51:07 dnsmasq-dhcp[1816]: DHCP, sockets bound exclusively to interface br0
Jul 1 10:51:07 dnsmasq[1816]: read /etc/hosts - 3 addresses
Jul 1 10:51:07 dnsmasq[1816]: read etc/storage/dnsmasq/adblock/yhosts.conf - 6385 addresses
Jul 1 10:51:07 dnsmasq[1816]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:07 dnsmasq[1816]: read etc/storage/dnsmasq/adblock/yhosts.conf - 6385 addresses
Jul 1 10:51:07 dnsmasq[1816]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:07 dnsmasq[1816]: read etc/storage/dnsmasq/adblock/yhosts.conf - 6385 addresses
Jul 1 10:51:07 dnsmasq[1816]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:07 dnsmasq[1816]: read etc/storage/dnsmasq/adblock/yhosts.conf - 6385 addresses
Jul 1 10:51:07 dnsmasq[1816]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:07 dnsmasq[1816]: read /etc/storage/dnsmasq/hosts - 0 addresses
Jul 1 10:51:07 dnsmasq-dhcp[1816]: read /etc/dnsmasq/dhcp/dhcp-hosts.rc
Jul 1 10:51:07 dnsmasq[1816]: using 18 more nameservers
Jul 1 10:51:07 dnsmasq[1816]: exiting on receipt of SIGTERM
Jul 1 10:51:08 dnsmasq[1831]: started, version 2.76 cachesize 512
Jul 1 10:51:08 dnsmasq[1831]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua no-TFTP no-conntrack ipset no-auth no-DNSSEC no-loop-detect no-inotify
Jul 1 10:51:08 dnsmasq-dhcp[1831]: DHCP, IP range 192.168.123.2 -- 192.168.123.244, lease time 1d
Jul 1 10:51:08 dnsmasq-dhcp[1831]: DHCP, sockets bound exclusively to interface br0
Jul 1 10:51:08 dnsmasq[1831]: read /etc/hosts - 3 addresses
Jul 1 10:51:08 dnsmasq[1831]: read etc/storage/dnsmasq/adblock/yhosts.conf - 6385 addresses
Jul 1 10:51:08 dnsmasq[1831]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:08 dnsmasq[1831]: read etc/storage/dnsmasq/adblock/yhosts.conf - 6385 addresses
Jul 1 10:51:08 dnsmasq[1831]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:08 dnsmasq[1831]: read etc/storage/dnsmasq/adblock/yhosts.conf - 6385 addresses
Jul 1 10:51:08 dnsmasq[1831]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:08 dnsmasq[1831]: read etc/storage/dnsmasq/adblock/yhosts.conf - 6385 addresses
Jul 1 10:51:08 dnsmasq[1831]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:09 dnsmasq[1831]: read etc/storage/dnsmasq/adblock/yhosts.conf - 6385 addresses
Jul 1 10:51:09 dnsmasq[1831]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:09 dnsmasq[1831]: read /etc/storage/dnsmasq/hosts - 0 addresses
Jul 1 10:51:09 dnsmasq-dhcp[1831]: read /etc/dnsmasq/dhcp/dhcp-hosts.rc
Jul 1 10:51:09 dnsmasq[1831]: using 18 more nameservers
Jul 1 10:51:09 dnsmasq[1831]: exiting on receipt of SIGTERM
Jul 1 10:51:09 dnsmasq[1841]: started, version 2.76 cachesize 512
Jul 1 10:51:09 dnsmasq[1841]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua no-TFTP no-conntrack ipset no-auth no-DNSSEC no-loop-detect no-inotify
Jul 1 10:51:09 dnsmasq-dhcp[1841]: DHCP, IP range 192.168.123.2 -- 192.168.123.244, lease time 1d
Jul 1 10:51:09 dnsmasq-dhcp[1841]: DHCP, sockets bound exclusively to interface br0
Jul 1 10:51:09 dnsmasq[1841]: read /etc/hosts - 3 addresses
Jul 1 10:51:09 dnsmasq[1841]: read etc/storage/dnsmasq/adblock/yhosts.conf - 6385 addresses
Jul 1 10:51:09 dnsmasq[1841]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:09 dnsmasq[1841]: read etc/storage/dnsmasq/adblock/yhosts.conf - 6385 addresses
Jul 1 10:51:09 dnsmasq[1841]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:09 dnsmasq[1841]: read etc/storage/dnsmasq/adblock/yhosts.conf - 6385 addresses
Jul 1 10:51:09 dnsmasq[1841]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:10 dnsmasq[1841]: read etc/storage/dnsmasq/adblock/yhosts.conf - 6385 addresses
Jul 1 10:51:10 dnsmasq[1841]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:10 dnsmasq[1841]: read etc/storage/dnsmasq/adblock/yhosts.conf - 6385 addresses
Jul 1 10:51:10 dnsmasq[1841]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:10 dnsmasq[1841]: read /etc/storage/dnsmasq/hosts - 0 addresses
Jul 1 10:51:10 dnsmasq-dhcp[1841]: read /etc/dnsmasq/dhcp/dhcp-hosts.rc
Jul 1 10:51:10 dnsmasq[1841]: using 18 more nameservers
Jul 1 10:51:11 dnsmasq[1862]: started, version 2.76 cachesize 512
Jul 1 10:51:11 dnsmasq[1862]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua no-TFTP no-conntrack ipset no-auth no-DNSSEC no-loop-detect no-inotify
Jul 1 10:51:11 dnsmasq-dhcp[1862]: DHCP, IP range 192.168.123.2 -- 192.168.123.244, lease time 1d
Jul 1 10:51:11 dnsmasq-dhcp[1862]: DHCP, sockets bound exclusively to interface br0
Jul 1 10:51:11 dnsmasq[1862]: read /etc/hosts - 3 addresses
Jul 1 10:51:11 dnsmasq[1862]: read etc/storage/dnsmasq/adblock/yhosts.conf - 6385 addresses
Jul 1 10:51:11 dnsmasq[1862]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:12 dnsmasq[1862]: read etc/storage/dnsmasq/adblock/yhosts.conf - 6385 addresses
Jul 1 10:51:12 dnsmasq[1862]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:12 dnsmasq[1862]: read etc/storage/dnsmasq/adblock/yhosts.conf - 6385 addresses
Jul 1 10:51:12 dnsmasq[1862]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:12 dnsmasq[1862]: read etc/storage/dnsmasq/adblock/yhosts.conf - 6385 addresses
Jul 1 10:51:12 dnsmasq[1862]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:12 dnsmasq[1862]: read etc/storage/dnsmasq/adblock/yhosts.conf - 6385 addresses
Jul 1 10:51:12 dnsmasq[1862]: read /etc/storage/dnsmasq/adblock/malwaredomainlist.conf - 1152 addresses
Jul 1 10:51:12 dnsmasq[1862]: read /etc/storage/dnsmasq/hosts - 0 addresses
Jul 1 10:51:12 dnsmasq-dhcp[1862]: read /etc/dnsmasq/dhcp/dhcp-hosts.rc
Jul 1 10:51:12 dnsmasq[1862]: using 18 more nameservers
Jul 1 10:51:12 crond[1870]: crond (busybox 1.24.2) started, log level 8
PS:已刷新过DNS |
|