Answer the question
In order to leave comments, you need to log in
How to set up a domain for a local network with dnsmasq?
I'm not sure that I did everything correctly, so I will describe the entire sequence of actions.
There is a DIR-100 router (192.168.0.1) and a computer with a web server and dnsmasq (192.168.0.2). Configured dnsmasq as follows (/etc/dnsmasq.conf):
interface=eth0
dhcp-range=192.168.0.2,192.168.0.254,255.255.255.0,12h
cache-size=1000
address=/.lan/192.168.0.2
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question