Сам stubby работает:
Shell
root@OpenWrt:~# nslookup unixforum.org '127.0.0.1#5453'
Server: 127.0.0.1
Address: 127.0.0.1#5453
Name: unixforum.org
Address 1: 109.68.191.155
*** Can't find unixforum.org: No answer
root@OpenWrt:~#
Shell
root@OpenWrt:~# nslookup unixforum.org 192.168.1.1
;; connection timed out; no servers could be reached
root@OpenWrt:~#
Shell
root@OpenWrt:~# uci show dhcp.@dnsmasq[0]
dhcp.cfg01411c=dnsmasq
dhcp.cfg01411c.domainneeded='1'
dhcp.cfg01411c.localise_queries='1'
dhcp.cfg01411c.rebind_protection='1'
dhcp.cfg01411c.rebind_localhost='1'
dhcp.cfg01411c.expandhosts='1'
dhcp.cfg01411c.authoritative='1'
dhcp.cfg01411c.readethers='1'
dhcp.cfg01411c.leasefile='/tmp/dhcp.leases'
dhcp.cfg01411c.local='/home/'
dhcp.cfg01411c.domain='home'
dhcp.cfg01411c.serversfile='/tmp/adb_list.overall'
dhcp.cfg01411c.server='127.0.0.1#5453'
dhcp.cfg01411c.noresolv='1'
dhcp.cfg01411c.dnssec='1'
dhcp.cfg01411c.dnsseccheckunsigned='1'
dhcp.cfg01411c.localservice='0'
dhcp.cfg01411c.nonwildcard='0'
root@OpenWrt:~#
Shell
root@OpenWrt:~# grep -v '^$\|^#' /etc/dnsmasq.conf
root@OpenWrt:~#
Код: Выделить всё
conf-file=/etc/dnsmasq.conf
dhcp-authoritative
domain-needed
no-resolv
localise-queries
read-ethers
enable-ubus
expand-hosts
domain=home
server=/home/
server=127.0.0.1#5453
dhcp-leasefile=/tmp/dhcp.leases
servers-file=/tmp/adb_list.overall
stop-dns-rebind
rebind-localhost-ok
conf-file=/usr/share/dnsmasq/trust-anchors.conf
dnssec
dnssec-check-unsigned
dhcp-broadcast=tag:needs-broadcast
addn-hosts=/tmp/hosts
conf-dir=/tmp/dnsmasq.d
user=dnsmasq
group=dnsmasq
P. S. Да, я в курсе, что я неправ в отношении .home.