I configured dnsmasq which resolves dns names as I want. Problem is occured when internet connection is not available. I cannot do ping or use nslookup from any computer in network.
Can not ping or nslookup computer in lan network :
Config files:
etc/hosts:
dnsmasq.conf
Can not ping or nslookup computer in lan network :
Code:
C:\>nslookup myComputer
Server: 1.1.168.192.in-addr.arpa
Address: 192.168.1.1
Name: myComputer.home
Addresses: 10.0.0.1
10.0.0.1
Config files:
etc/hosts:
Code:
192.168.1.1 router
192.168.1.10 myComputer
dnsmasq.conf
Code:
pid-file=/var/run/dnsmasq.pid
user=nobody
bind-dynamic
interface=br0
interface=ppp1*
no-dhcp-interface=ppp1*
resolv-file=/tmp/resolv.conf
servers-file=/tmp/resolv.dnsmasq
no-poll
no-negcache
cache-size=1500
min-port=4096
domain=home
expand-hosts
bogus-priv
local=/home/
dhcp-range=lan,192.168.1.100,192.168.1.254,255.255.255.0,86400s
dhcp-option=lan,3,192.168.1.1
dhcp-option=lan,15,home
dhcp-option=lan,44,192.168.1.1
dhcp-option=lan,252,"\n"
dhcp-authoritative
read-ethers
addn-hosts=/etc/hosts.dnsmasq
address=/0.0.0.0/0.0.0.0
addn-hosts=/tmp/mnt/usb8GB/addblock/hosts.clean