[Dnsmasq-discuss] dump dynamic dns assignments

Tim Tassonis stuff at decentral.ch
Thu Mar 21 21:24:21 UTC 2024



On 3/21/24 08:16, Buck Horn via Dnsmasq-discuss wrote:
> 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


True, I did actually even know that file...

I was more wondering if a client without access to the lease file could 
also access that information, but it's not really important. The  lease 
file is enough.

Thanks for the infos

Bye
Tim



More information about the Dnsmasq-discuss mailing list