I've set up my Windows Server 2008 box to act as a DNS server for our network at work. I've got a couple machines with A records in the DNS record. Is there a way I can automatically include the domain in DNS queries so I don't have to use the fully qualified domain name? That is, I have a computer named dev1. Is there a way I can set up the DNS server so that I can
ssh dev1 instead of
ssh dev1.dev.mycompany.com? The A record for dev1 includes the IP address for the machine, so I can successfully access the machine using dev1.dev.mycompany.com.
In addition, is there a way I can connect to machines by host name instead of IP? In the A record, it looks like whatever name I put will get mapped to the IP address. I'd like that to be the hostname of the machine. Is there a way to do that? Or do I just need to manually create the correct A records?