This question already has an answer here:
I have a Mac Server 3.1.2, w/ system 10.9.4 that is not being used as DNS Server. Windows Server 2012 is DNS & DHCP server. On the Mac, Terminal cannot ping hostname of mac, however, it does identify itself with it's hostname so I'm concluding this mismatch is the cause of my issues.
Anyone have a suggestion?