Solved

Windows domain - name resolution issues from Mac OS X 10.9

Posted on 2014-02-03
14
7,326 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Because virtualization becomes more and more common, and, with Microsoft Hyper-V included in Windows Server at no additional costs, and, most server hardware nowadays is more than capable of running a physical Small Business Server (SBS) 2008 or 201…
I’m often asked about newer and larger USB drives connected to SBS2008 and 2011 failing Windows Server Backup vs the older USB drives not failing. As disk space continues to grow and drive technology change SBS2008 and some SBS2011 end up with the f…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

786 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