I am attempting to have dnsmasq record leases to a lease file so that I can monitor what devices are on my network primitively (ELK stack would be ideal, but that is a bit more effort). That said, I made this change to my configuration file:
I created the folder before hand and chowned it to nobody and then created the file as nobody followed by restarting dnsmas. The file is empty and I have repeatedly requested an IP and gotten one, yet the file remains empty. Is this possible?
I had a typo somewhere else, it is now working.
Code:
dhcp-leasefile=/var/db/dnsmasq/leases
I created the folder before hand and chowned it to nobody and then created the file as nobody followed by restarting dnsmas. The file is empty and I have repeatedly requested an IP and gotten one, yet the file remains empty. Is this possible?
I had a typo somewhere else, it is now working.