Не приходит ответ от dnsmasq, но nslookup работает, если указать адрес сервера
Не приходит ответ от dnsmasq. nslookup резолвит адресс, если явно указать адрес сервера.
Server config:
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
option dhcpscript '/usr/sbin/dhcpinfo.sh'
client config:
log-queries
log-facility=/var/log/dnsmasq-queries.log
conf-dir=/etc/dnsmasq.d
interface=lo
bind-interfaces
all-servers
cache-size=1000
no-negcache
port=53
all-servers
resolv-file=/etc/resolv.dnsmasq.conf
resolv-file:
nameserver 10.8.0.2
nameserver 10.8.0.5
nameserver 8.8.8.8
Ответы (1 шт):
Автор решения: eri
→ Ссылка
Нужно rebind_protection выключить или добавить домен lan в rebind_domain
option rebind_protection 0
