EFW Support

Support => General Support => Topic started by: jaebird on Friday 28 December 2007, 04:30:32 am



Title: dnsmasq not retrieving dhcpd leases for name resolution
Post by: jaebird on Friday 28 December 2007, 04:30:32 am
I've looked around the net, tried a bunch of things, but still nothing. According to dnsmasq docs, adding this line:

dhcp-leasefile=/var/lib/dhcp/dhcpd.leases

to the dnsmasq.conf file will get dnsmasq to pull the lease clients into the dns for resolving. However, it seems to be an old option that is being depreciated, the service fails to start when that line is added. All I want to do is be able to address local computers on my lan by name instead of ip address. dnsmasq has a built in dhcp server which is not being used. ISC Dhcpd is more feature rich, but it seems like it would rather communicate with bind.

So what is the story? Any solutions? BTW, i can't remember what IPCop used...but this feature worked on it.

Jae


Title: Re: dnsmasq not retrieving dhcpd leases for name resolution
Post by: Bhai on Sunday 30 December 2007, 10:27:18 am
you are correct:

Quote
root@endianfw:/etc/dnsmasq # /usr/sbin/dnsmasq -v
Dnsmasq version 2.38  Copyright (C) 2000-2007 Simon Kelley
Compile time options IPv6 GNU-getopt no-ISC-leasefile no-DBus no-I18N TFTP

Thats why it doesn't work with ICS DHCPd, it is not compiled with the support for it.

So someone needs to compile it with ICS support.