<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">Hi list<br style="line-height: 21.2999992370605px;"><br style="line-height: 21.2999992370605px;">My dnsmasq server does a fine job offering dhcp leases to clients and nameservice lookup as a gateway.<br style="line-height: 21.2999992370605px;"><br style="line-height: 21.2999992370605px;">Only one feature is missing on my todo list:<br style="line-height: 21.2999992370605px;"><br style="line-height: 21.2999992370605px;">Clients can resolve each others hostname, but the gateway itself can't resolve the clients hostname he leased an address to.<br style="line-height: 21.2999992370605px;"><br style="line-height: 21.2999992370605px;">Something in my configuration most be wrong or missing:<br style="line-height: 21.2999992370605px;"><br style="line-height: 21.2999992370605px;">Here's my gateway configuration, the clients don't run dnsmasq ...<br style="line-height: 21.2999992370605px;"><br style="line-height: 21.2999992370605px;">cat /etc/dnsmasq.conf<br style="line-height: 21.2999992370605px;">interface=eth0<br style="line-height: 21.2999992370605px;">dhcp-leasefile=/tmp/dnsmasq.leases<br style="line-height: 21.2999992370605px;">dhcp-lease-max=20<br style="line-height: 21.2999992370605px;">dhcp-range=192.168.1.10,192.168.1.50,255.255.255.0,24h<br style="line-height: 21.2999992370605px;">dhcp-option=3,192.168.1.1<br style="line-height: 21.2999992370605px;">dhcp-authoritative<br style="line-height: 21.2999992370605px;">domain=ServerD<br style="line-height: 21.2999992370605px;">stop-dns-rebind<br style="line-height: 21.2999992370605px;"><br style="line-height: 21.2999992370605px;">...and the hosts file on my gateway, where dnsmasq is running<br style="line-height: 21.2999992370605px;"><br style="line-height: 21.2999992370605px;">cat /etc/hosts<br style="line-height: 21.2999992370605px;">192.168.1.1 SRV.ServerD SRV<br style="line-height: 21.2999992370605px;">::1 ip6-localhost ip6-loopback<br style="line-height: 21.2999992370605px;">fe00::0 ip6-localnet<br style="line-height: 21.2999992370605px;">ff00::0 ip6-mcastprefix<br style="line-height: 21.2999992370605px;">ff02::1 ip6-allnodes<br style="line-height: 21.2999992370605px;">ff02::2 ip6-allrouters<br style="line-height: 21.2999992370605px;"><br style="line-height: 21.2999992370605px;">cat /etc/hostname <br style="line-height: 21.2999992370605px;">SRV<br style="line-height: 21.2999992370605px;"><br style="line-height: 21.2999992370605px;">hostname -s<br style="line-height: 21.2999992370605px;">SRV<br style="line-height: 21.2999992370605px;"><br style="line-height: 21.2999992370605px;">hostname -f<br style="line-height: 21.2999992370605px;">SRV.ServerD <br style="line-height: 21.2999992370605px;"><br style="line-height: 21.2999992370605px;">cat /tmp/dnsmasq.leases <br style="line-height: 21.2999992370605px;">1438759931 MY:MA:CA:DD:RE:SS 192.168.1.23 CLIENT1 *<br style="line-height: 21.2999992370605px;"><br style="line-height: 21.2999992370605px;">Can somebody tell me what's wrong in that setup, so SRV can't resolve to CLIENT1 as well?<br style="line-height: 21.2999992370605px;"><br style="line-height: 21.2999992370605px;">Regards,<br style="line-height: 21.2999992370605px;"><br style="line-height: 21.2999992370605px;">Mayk</pre></div> </div></body>
</html>