<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
I have DNSMASQ configured to run on a CentOS 4 server. It is acting as
both the DNS and DHCP server. All is working fine, except that when I
connect another linux machine to the network, the host name on the
client machine doesn't show up in the dnsmasq.leases file. Instead I
get:<br>
<blockquote>1166770800 00:14:22:9b:10:47 172.16.41.40 * *<br>
</blockquote>
Because of the above, I cannot ping the linux machine by machine name.
When I plug a Windows XP machine into the network I get correct
hostname resolution<br>
<blockquote>1166770990 00:16:17:a8:c4:23 172.16.189.188 pommel
01:00:16:17:a8:c4:23<br>
</blockquote>
In this case, I can ping the machine named "pommel". The linux machines
host file is:<br>
<blockquote>127.0.0.1 MYLINUXBOX &nbsp;&nbsp; localhost&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
localhost.localdomain<br>
</blockquote>
Any advice would be greatly appreciated. Below is the settings in my
dnsmasq.conf file.<br>
<blockquote>dnsmasq.conf<br>
domain-needed<br>
bogus-priv<br>
interface=eth0<br>
expand-hosts<br>
domain=mydomain.com<br>
dhcp-range=172.16.0.0,172.16.255.255,168h<br>
dhcp-option=1,255.255.0.0<br>
dhcp-option=3,172.16.0.1<br>
dhcp-option=6,172.16.0.1<br>
dhcp-option=28,172.16.255.255<br>
dhcp-lease-max=500<br>
dhcp-leasefile=/var/lib/misc/dnsmasq.leases<br>
dhcp-authoritative<br>
log-queries<br>
</blockquote>
<div class="moz-signature">-- <br>
<meta content="text/html; " http-equiv="content-type">
<title>jbaker_signature</title>
<p><font face="Arial, Helvetica, sans-serif"><b>Jason Baker<br>
</b><i>IT Coordinator</i></font></p>
<p><font face="Arial, Helvetica, sans-serif"><img moz-do-not-send="true"
 src="http://www.glastender.com/images/stainless_logo_for_emails.gif"
 height="55" width="120"><br>
<b>Glastender Inc.</b><br>
<font size="2">5400 North Michigan Road<br>
Saginaw, Michigan 48604 USA<br>
800.748.0423<br>
Phone: 989.752.4275 ext. 228<br>
Fax: 989.752.4444</font><br>
<a href="http://www.glastender.com">www.glastender.com</a></font></p>
</div>
</body>
</html>