Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Windows domain - name resolution issues from Mac OS X 10.9

Posted on 2014-02-03
14
Medium Priority
?
7,741 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 31

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 31

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
 
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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

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…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

879 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