{"id":1083,"date":"2017-03-05T14:13:33","date_gmt":"2017-03-05T20:13:33","guid":{"rendered":"http:\/\/blog.ls-al.com\/?p=1083"},"modified":"2017-03-05T14:13:33","modified_gmt":"2017-03-05T20:13:33","slug":"windows-host-lookup-only-work-with-nslookup","status":"publish","type":"post","link":"https:\/\/blog.ls-al.com\/windows-host-lookup-only-work-with-nslookup\/","title":{"rendered":"Windows Host Lookup Only work with nslookup"},"content":{"rendered":"

I have struggled with a couple Windows clients and using a DHCP\/DNS lookups. Basically I want to use machines(physicals\/VM's) on my home network by accessing by their names. Since they all register correctly in the DHCP\/DNS device I use I should be able to always use their names which reflect last IP address for it. The goal of course is not to run any additional DHCP or DNS services on my home network. Or result to DYnamic DNS services for each client on my home network. I tend to have a lot of VM's. <\/p>\n

In this case I am using a Unify gateway from Ubiquity Networks and it works well. In addition serving DHCP from it does serve me my local DNS for my home network. This works well from Linux but from Windows it does not. In short Windows can find the client name when I use nslookup. But ping(or any other lookup like RDP etc) fails. I tried several things including:
\n1. Setup Windows client DNS\/hostname\/IP settings\/search domain\/registration like it should be.
\n2. Some googling suggested registry changes and a few other suggestions nothing helpful.
\n3. Add a domain name to Unify gateway DHCP configuration.<\/p>\n

Nothing worked including referencing the client by FQDN. However although not ideal Windows actually does find the client name if you simply add a dot at the end of the short name. For example ping VM1. instead of ping VM1 or ping VM1.localdomain and so forth.<\/p>\n

For me this works and I am not going to try and understand what is braindead in name resolution in Windows I can just dda a dot at the end of short names for my use cases. <\/p>\n","protected":false},"excerpt":{"rendered":"

I have struggled with a couple Windows clients and using a DHCP\/DNS lookups. Basically I want to use machines(physicals\/VM’s) on<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[79,7],"tags":[],"class_list":["post-1083","post","type-post","status-publish","format-standard","hentry","category-dns","category-windows"],"_links":{"self":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/1083","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/comments?post=1083"}],"version-history":[{"count":0,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/1083\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/media?parent=1083"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/categories?post=1083"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/tags?post=1083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}