Solved

Windows domain - name resolution issues from Mac OS X 10.9

Posted on 2014-02-03
14
7,292 Views
Last Modified: 2014-02-10
I have an odd issue that is a recent occurrence. However, I'm not sure exactly how recent, and so trying to find any event log entries is difficult.

I have an SBS 2008 server running as a Hyper-V guest on a Windows 2012 host. The SBS 2008 server was converted from a physical server. It's IP address was 192.168.1.100/24. Since being converted to Hyper-V (over a year ago), it also has the IP 192.168.1.32/24. The Server 2012 has an IP of 192.168.1.101/24. I also have a NAS unit on 192.168.1.200/24

I used to be able to ping my Hyper-V server and NAS unit using their NetBIOS names from my MacBook Pro (OS X 10.9 Mavericks). However, now when I try and ping, I get the following error:-

ping: cannot resolve <name>: Unknown host

If, however, I use nslookup from my Mac, then the names resolve with the FQDN (i.e. name.mydomain.local). I can also ping the FQDN.

What I want to do though, is go back to being able to ping the NetBIOS name only.

How do I do this?
0
Comment
Question by:Chris Millard
  • 7
  • 3
  • 2
  • +1
14 Comments
 
LVL 7

Expert Comment

by:Peter Loobuyck
ID: 39830273
on macs .local is a bonjour suffix. you better set an internet domain, a .com or so so you can use this internally as well as externally. If you don't want that, use .lan or something.

any .local name will be used in a multicast lookup and won't be checked by dns.
0
 
LVL 17

Author Comment

by:Chris Millard
ID: 39830498
@PeterLbk - from what I understand, the Bonjour service uses the .local suffix when there is only one label in addition to .local (i.e. server.local) - but when there are two or more  additional labels (i.e. server.mydomain.local) then name resolution takes place using a regular DNS server.

On my Mac, DNS resolution has worked for well over a year on my SBS network - it's only been over the last couple of weeks that the resolution has stopped working.
0
 
LVL 7

Expert Comment

by:Peter Loobuyck
ID: 39830509
Did you check the dns table of the server? I know windows has a strange way of supplying dns records... do you have the right records, both forward and reverse? No double records either?
0
 
LVL 28

Expert Comment

by:serialband
ID: 39830560
NetBIOS is Windows only/mainly.  If you want to ping the name, you should put an alias in DNS.  nslookup queries the Domain Server directly.  ping and dig get it from your local system's DNS cache.  It may need to be reloaded.

You could flush you DNS cache to try and force a reload to fix it.
Lion & newer
sudo killall -HUP mDNSResponder
Leopard
sudo dscacheutil -flushcache
Tiger
lookupd -flushcache
Windows
ipconfig /flushdns
http://etherealmind.com/flush-dns-cache-on-mac-os-x/
0
 
LVL 17

Author Comment

by:Chris Millard
ID: 39830653
@PeterLbk - DNS on Windows Server has the correct forward and reverse lookup zones configured and has been working for ages. Although it's an SBS setup, I'm running it in a home environment and no other machines have been added to the network.

@serialband - For over a year, I have been able to browse internal websites using the host name only (without the domain.local suffix), and I've been able to ping host names. As it stands, I cannot ping by hostname only and yet nslookups work ok.
0
 
LVL 28

Expert Comment

by:serialband
ID: 39830911
Maybe your DNS cache became corrupt today.  Try clearing it.  I've had that happen before.
0
 
LVL 17

Author Comment

by:Chris Millard
ID: 39830921
I've already done this on the Mac AND on the Windows Server....
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 19

Expert Comment

by:Kash
ID: 39832349
what happens if you try and add dns of your windows server to your mac and then try to PING it ?
0
 
LVL 17

Author Comment

by:Chris Millard
ID: 39834896
My Mac is getting an IP from the SBS DHCP Server, and when I check the DNS settings in the system preferences, I can see that the 2 expected DNS addresses are assigned (and in the correct order) and that the search domain mydomain.local is also assigned.
0
 
LVL 19

Expert Comment

by:Kash
ID: 39835369
I am running out of options :)

Try to create a new test user account on a mac and see if it works from that account.


do you have any other mac to test it from. if yes, what happens if you test, does it work.

Have you recently installed any updates etc ?
0
 
LVL 17

Author Comment

by:Chris Millard
ID: 39836864
I will try another account. I only have the one Mac - however, there are 2 iPhones, an iPad and an iPod touch all on the same network, all which resolve OK.

There have been no Mac or Windows updates installed prior to this happening...
0
 
LVL 17

Accepted Solution

by:
Chris Millard earned 0 total points
ID: 39836912
Eureka! Found this which worked for me:-

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

Since doing this, I'm getting proper responses...
0
 
LVL 19

Expert Comment

by:Kash
ID: 39837023
nice one
0
 
LVL 17

Author Closing Comment

by:Chris Millard
ID: 39846828
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Apple's Mac OS X has become an official member of the malware club. The Flashback Trojan has affected over half million Macs, worldwide. It is behavior that ultimately gets malware onto a person’s computer. Obsolete or out-of-date software helps…
iCloud Drive was introduced after iOS 8 was launched last year. This drive is Apple’s online storage device that lets users sync their files and access them from all their Apple devices.   There is a lot of data that is not automatically backed up…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now