[Dnsmasq-discuss] Disappearing hosts from local DNS resolution
Eric Thibodeau
kyron at neuralbs.com
Wed Oct 1 21:50:19 BST 2008
Hello,
I am using dnsmasq as a core component of my cluster. I'm having a
weird problem where the nodes are disappearing (can't use hostnames
anymore). So I am forced to connect to them using the IP addr. and
forcing dhcpcd to request an IP for the hosts to reappear in dnsmasq.
The logs show the following on the disappeared hosts:
Oct 1 15:29:41 headless dnsmasq[7726]: DHCPREQUEST(eth1) 10.0.1.11
00:01:03:df:ca:44
Oct 1 15:29:41 headless dnsmasq[7726]: DHCPNAK(eth1) 10.0.1.11
00:01:03:df:ca:44 lease not found
...
Oct 1 15:29:42 headless dnsmasq[7726]: DHCPDISCOVER(eth1) 00:01:03:df:ca:44
Oct 1 15:29:42 headless dnsmasq[7726]: DHCPOFFER(eth1) 10.0.1.11
00:01:03:df:ca:44
Oct 1 15:29:42 headless dnsmasq[7726]: DHCPDISCOVER(eth2) 00:01:03:df:ca:44
Oct 1 15:29:42 headless dnsmasq[7726]: DHCPOFFER(eth2) 10.0.1.11
00:01:03:df:ca:44
Oct 1 15:29:42 headless dnsmasq[7726]: DHCPREQUEST(eth1) 10.0.1.11
00:01:03:df:ca:44
Oct 1 15:29:42 headless dnsmasq[7726]: DHCPACK(eth1) 10.0.1.11
00:01:03:df:ca:44 thinkbig1
Here are two significant lines from my config file:
dhcp-range=AthlonXP_1,10.0.1.10,10.0.1.126,255.255.255.0,12h
dhcp-host=00:01:03:df:ca:44,net:AthlonXP_1,thinkbig1,10.0.1.11
As you can note, I am defining a range with a lease time of 12h but none
for the statically defined hosts. Could this be the reason the nodes
disappear (lease time not sent to nodes if it's not defined in the
static definition)?
dnsmasq version is 2.45 and dhcpcd is 4.0.1-rc1
Eric
More information about the Dnsmasq-discuss
mailing list