[Dnsmasq-discuss] Unable to resolve hostnames after some time

Donnie Berkholz spyderous@gentoo.org
Tue, 19 Apr 2005 15:09:03 -0700


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm running into some sort of odd issue: After booting a client, I'm
able to resolve its IP from another client with no trouble. But if I
wait overnight, the next day I can't resolve its IP anymore. It still
looks correct in /var/lib/misc/dnsmasq.leases, so I'm not sure what's
going on.

master ~ # grep -v -e '^#' -e '^$' /etc/dnsmasq.conf
domain-needed
bogus-priv
resolv-file=/etc/dnsmasq/resolv.conf
interface=eth0
interface=lo
expand-hosts
domain=cluster.local
dhcp-range=192.168.1.10,192.168.1.255,255.255.254.0
dhcp-host=00:40:05:82:e4:9b,node01,192.168.1.1
dhcp-host=00:40:05:83:04:83,node02,192.168.1.2,1h
dhcp-host=00:40:05:41:66:13,node03,192.168.1.3,1h
dhcp-host=00:40:05:41:77:cd,node04,192.168.1.4,1h
dhcp-host=00:a0:cc:61:f1:85,node05,192.168.1.5,1h
dhcp-host=00:a0:cc:62:00:fc,node06,192.168.1.6,1h
dhcp-option=42,0.0.0.0
dhcp-option=19,0           # option ip-forwarding off
dhcp-option=44,192.168.0.11     # set netbios-over-TCP/IP nameserver(s)
aka WINS server(s)
dhcp-option=45,192.168.0.11     # netbios datagram distribution server
dhcp-option=46,8           # netbios node type
dhcp-option=47             # empty netbios scope.
dhcp-boot=/pxelinux.0,master,192.168.0.1

master ~ # host node01
Host node01 not found: 3(NXDOMAIN)
master ~ # ssh 192.168.1.1
root@192.168.1.1's password:
~ # reboot
~ # Connection to 192.168.1.1 closed by remote host.
Connection to 192.168.1.1 closed.
master ~ # host node01
node01.cluster.local has address 192.168.1.1

Any ideas would be greatly appreciated.

Thanks,
Donnie
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCZYF+XVaO67S1rtsRAiVeAKD5l+OOz9z56DDZ0zT1oJF3ZeSSbgCgxwRX
aaJ0/O7UMAhH5jIrXCsYINA=
=hU32
-----END PGP SIGNATURE-----