I need to setup a dynamic dns on the raspberry pi. For this I have installed the
dnsmasq service. I have created a file with name
home.dns and below are its contents:
As I want this to work with dynamic ip address so I have not used any static ips. After restarting the service, it failed and showed error in line
dhcp-range=192.168.1.5,48h with this message
dnsmasq: bad dhcp-range at line 3 of /etc/dnsmasq.d/home.dns. How can I resolve this issue.
I want to setup a local dns on raspberry pi so that regardless of Ip address I can easily reach all the pi's/devices by their domain names in the network, like
pi1.home.com. Also, if it works, do I need to disable DHCP from my router. If is there any other option available to setup a dns, please point me to correct link/instructions.