On 21.03.24 04:33, Tim Tassonis wrote:
What I wonder: Is there a way to find out what hostnames the dhcp server has assigned to what ip addresses dynamically? I know that dnsmasq registers them just fine, but is there a run-time access to that information?
dnsmasq stores its currently active lease information in a file (dnsmasq.leases), see https://dnsmasq.org/docs/dnsmasq-man.html#lbAL An explanation of the field format can be found from the mailing list, see https://www.mail-archive.com/dnsmasq-discuss@lists.thekelleys.org.uk/msg00771.html And of course, if you knew either an IP or a hostname of an active(!) dynamic client, you could query dnsmasq for the other. Kind regards, Buck _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss