[Dnsmasq-discuss] How to get name of DHCP'ed system?

Chris G cl at isbd.net
Sat Jan 24 12:34:30 GMT 2009


On Sat, Jan 24, 2009 at 08:09:00AM +0100, Helmut Hullen wrote:
> Hallo, Paul,
> 
> Du meintest am 23.01.09:
> 
> > Fedora RPMs have located dnsmasq.leases in /var/lib/dnsmasq/ in the
> > past. Don't know if they still are, more recently I've been building
> > from Simon's tarballs to help test the latest releases.
> 
> > As to needing to write a script, don't most boxes have 'locate'
> > available? (apart from embedded devices)
> 
> I've just run "dnsmasq --help", and the (huge) output also shows the  
> option "-l" with the explanation
> 
> "Specify where to store DHCP leases (defaults to /var/state/dnsmasq/ 
> dnsmasq.leases)".
> 
> Shows your Fedora output another path? Then the path is defined per  
> distribution related compile option.
> 
On my xubuntu 8.10 system it says:-

    -l, --dhcp-leasefile=path           Specify where to store DHCP leases (defaults to /var/lib/misc/dnsmasq.leases).

(dnsmasq version 2.45)

-- 
Chris Green



More information about the Dnsmasq-discuss mailing list