I have set up a Win2k8 R2 server with the DNS role enabled. I had to add the server to a fictional workgroup/domain called dns.com so as to be able to use it as a primary DNS server to my network of one computer. Now the problem is that everytime I try to add a resource record for just hostname, using nsupdate I get the response: could not find enclosing zone
As soon as I change the hostname to hostname.dns.com it successfully updates. Is there any way to bypass this FQDN requirement either at the DNS server side or the client side?
I am using the following:
$ cat /tmp/dns1
server 10.106.27.241
update delete hostname a
update add hostname 86400 a 10.106.145.1
send
$ nsupdate -v /tmp/dns1
could not find enclosing zone
$ cat /tmp/dns2
server 10.106.27.241
update delete hostname.dns.com a
update add hostname.dns.com 86400 a 10.106.145.1
send
$ nsupdate -v /tmp/dns2
$