[Dnsmasq-discuss] Using dhcp-host hostname as address for DNS

Simon Kelley simon at thekelleys.org.uk
Fri Jul 20 13:30:21 BST 2012


On 20/07/12 12:17, Alvaro Gamez wrote:
> 2012/7/20 Simon Kelley <simon at thekelleys.org.uk
> <mailto:simon at thekelleys.org.uk>>
> 
>     Do the host actually have DHCP leases? If there exists a current DHCP
>     lease for a host called zulu, and you've configured
>     --domain=ea4rct.org <http://ea4rct.org>
>     then an A record for zulu.ea4rct.org <http://zulu.ea4rct.org> will
>     exist.
> 
>     Try looking in /var/lib/misc/dnsmasq.leases for the IP address and name.
> 
> 
> Funny, this is what I see:
> 
> 1342783041 00:00:18:84:12:7e:10 192.168.0.254 * 01:00:18:84:12:7e:10
> I guess the * should be "zulu"?
> 

Indeed.

Looking at your orignal post, change "1w" to "7d". Days is the biggest
time unit dnsmasq knows about, and the 1w string may confuse the
heuristic argument parsing.

That might be enough to fix things, if not set --log-dhcp and take a
look in system logs. That should give you information about what's
happening.

Cheers,

Simon.






More information about the Dnsmasq-discuss mailing list