[Dnsmasq-discuss] dhcp.leases file format?

William Trenker wtrenker at gmail.com
Wed Apr 26 07:16:48 BST 2006


Hello,

I'm running dnsmasq v2.27 and have been googling around trying to find
a definition for the dhcp.leases file.

Most of the fields are self explanatory.  Here's an live example to
illustrate a couple of questions:

root at OpenWrt:~# cat /var/dhcp.leases
946689575 00:00:00:00:00:05 192.168.1.155 wdt 01:00:00:00:00:00:05
946689522 00:00:00:00:00:04 192.168.1.237 * 01:00:00:00:00:00:04
946689351 00:0f:b0:3a:b5:0b 192.168.1.208 colinux *
946689493 02:0f:b0:3a:b5:0b 192.168.1.199 * 01:02:0f:b0:3a:b5:0b

The second column is obviously the MAC address.  What is the last column?

What are the asterisks in entries 2 and 4?  The first two entries are
from the same machine, I simply changed to MAC address from
00:00:00:00:00:04 to 00:00:00:00:00:05 in order to observe the
results.  I see that the 2nd entry has an asterisk instead of my
computer's host name.

And the asterisk at the end of entry 3?  What is that?

Thanks very much,
Bill



More information about the Dnsmasq-discuss mailing list