I’ve got dnsmasq setup on Ubuntu 18.04. Its working fine and everything seems to be going swimmingly.
What I want is for all of the Windows hosts on my network that use the DNS server to be able to ping another host without a trailing .
C:UsersAlex>ping computer1. Pinging computer1 [10.0.3.50] with 32 bytes of data: Reply from 10.0.3.50: bytes=32 time<1ms TTL=127 Reply from 10.0.3.50: bytes=32 time=1ms TTL=127 Reply from 10.0.3.50: bytes=32 time<1ms TTL=127 Reply from 10.0.3.50: bytes=32 time=1ms TTL=127 Ping statistics for 10.0.3.50: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 1ms, Average = 0ms C:UsersAlex>ping computer1 Ping request could not find host computer1. Please check the name and try again.
I realize this is somewhat silly but we have a lot of mapped drives on a lot of computers and I really don’t want to have to teach everyone and then have them do a remap of everything just to add the dot.
Some of the machines are on different VLANs, so I have setup dnsmasq with the hosts file that point to the right IP.
If I ping
computer. it works.
If I ping
computer.lan it works cause I setup the local domain to be .lan.
But if I ping
computer I get nothing.
This is on Windows and Linux machines.