[Dnsmasq-discuss] Trailing dots and the way dnsmasq handles hosts

John Drake John Drake <drakethegreat@gmail.com>
Fri, 8 Apr 2005 21:15:45 -0700


I have a not so serious question/problem regarding dnsmasq.

I'm new here so I must say that this dns server is by far the best one
ever made for local networks. Anyways let me get to the point. I have
a bunch of hostnames setup in /etc/hosts on my slackware box and
dnsmasq seems to be relaying that info just fine except for one minor
thing.

I can only ping it if I add a trailing . such as "ping maclap." and
"ping maclap" won't work (this is from client machines). I can run
"nslookup maclap" and it returns the correct ip. So my question is
obvious now, is there a way to ping local machines by their hostname
without the dot? It works with nslookup and dig but not with anything
else.

Thanks, John
-- 
<a href="http://www.spreadfirefox.com/?q=affiliates&amp;id=20907&amp;t=1">Get
Firefox!</a>