[Dnsmasq-discuss] Can one produce a list of IP's assigned by DHCP
Thomas S Hatch
thatch45 at gmail.com
Mon Dec 20 23:22:45 GMT 2010
Well, regardless, enjoy my script, we use it to make a hosts file that can
be distributed to other dnsmasq servers of for a kind of
replication technique. It does what we want it to, you may have to change
line 24 to point to the correct leases file
On Mon, Dec 20, 2010 at 5:14 PM, Bernard T. Higonnet <bthcom at higonnet.net>wrote:
> Justin McAteer wrote:
> > For all of my installations, the list of current leases is stored at:
> > /var/lib/misc/dnsmasq.leases
>
>
> Turns out that in my FreeBSD 8.1 installation, dnsmasq.leases can be
> found in /var/db/ and was exactly what I was looking for.
>
> Thanks!!
> Bernard Higonnet
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20101220/907b01c0/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dnsdump.py
Type: text/x-python
Size: 5935 bytes
Desc: not available
Url : http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20101220/907b01c0/attachment-0001.py
More information about the Dnsmasq-discuss
mailing list