I have a Windows Server 2012 R2 server that has the AD role installed on it. All machines, Linux and Windows use the AD DNS server for name resolution. When making DNS queries on Linux using NSLookup I have to type the FQDN (mynode.domain.com). But in Windows, I only need the hostname (mynode). So, my question is, is there a way to just use hostnames on Ubuntu?
Here is the output I get when trying just the hostname:
Got SERVFAIL reply from 192.168.0.2, trying next server
...
server can't find mynode: NXDOMAIN
Any help with this, as always, is appreciated.
/etc/resolv.conf
, for example, calls it justsearch
. – muru May 10 '16 at 23:53