[Dnsmasq-discuss] DhcpLeaseUpdated DBus Notification With Static DHCP

granule granule granuleg at gmail.com
Mon Dec 17 08:59:52 GMT 2012


hello,

when using dbus and dhcp, it is possible to have DhcpLeaseUpdated each
time  /var/lib/misc/dnsmasq.leases changes with the following static
dhcp configuration:
enable-dbus
log-queries
log-dhcp
interface=eth1
dhcp-range=10.10.8.0,static,2m
dhcp-host=00:04:74:05:00:f0,SUT,10.10.8.38,2m

=>In my case, i got two DhcpLeaseUpdated when dnsmask started and nothing after.

Log
===
started, version 2.64 cachesize 150
compile time options: IPv6 GNU-getopt DBus no-i18n no-IDN DHCP DHCPv6
no-Lua TFTP no-conntrack
DBus support enabled: connected to system bus
DHCP, static leases only on 10.10.8.0, lease time 2m
reading /etc/resolv.conf
using nameserver 10.0.8.58#53
using nameserver 10.0.241.13#53
using nameserver 10.10.40.145#53
read /etc/hosts - 7 addresses

Best Regards



More information about the Dnsmasq-discuss mailing list