I have two hosts, MintPC and AlpineVM. The VM is on a bridged network so it appears as its own device on the network with its own address. Both obtain addresses through DHCP provided by my router/gateway. I can't do very much to customize or change it through the web UI.
On AlpineVM, nslookup MintPC returns the correct IP address of 10.1.10.97 and ping MintPC works just fine. However, on MintPC, nslookup AlpineVM returns NXDOMAIN and ping AlpineVM returns name or service not found.
Even though they are using the same DHCP server, AlpineVM configures itself to query the router/gateway as the primary DNS server, while MintPC seems to configure itself to use the ISP's DNS servers first.
Is there any good way to alter this? I would like both MintPC and AlpineVM to be able to use dotless names to resolve each other's IP addresses. Ideally, I wouldn't need to do too much tinkering to achieve this. I'd like to avoid using static mappings or hosts files, if possible.