Solved

Windows domain - name resolution issues from Mac OS X 10.9

Posted on 2014-02-03
14
7,223 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
Comment Utility
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
Comment Utility
@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
Comment Utility
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 27

Expert Comment

by:serialband
Comment Utility
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
Comment Utility
@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 27

Expert Comment

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

Author Comment

by:Chris Millard
Comment Utility
I've already done this on the Mac AND on the Windows Server....
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 19

Expert Comment

by:Kash
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
nice one
0
 
LVL 17

Author Closing Comment

by:Chris Millard
Comment Utility
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

A common question or need, when setting-up a new Mac for someone would be to make all of the applications, installed, available from the dock. Many people often do not realize an application is installed unless it is in the dock. Creating a custo…
You may have discovered the 'Compatibility View Settings' workaround for making your SBS 2008 Remote Web Workplace 'connect to a computer' section stops 'working around' after a Windows 10 client upgrade.  That can be fixed so it 'works around' agai…
This video discusses moving either the default database or any database to a new volume.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

772 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

14 Experts available now in Live!

Get 1:1 Help Now