triphen
asked on
iMac not resolving DNS
Hi guys,
I have a small network with 5 PCs and 1 iMac. PCs are Win7 Pro and iMac is OSx 10.12.4 (sierra).
All 6 computers have the same DNS address. 10.0.1.25 (statically assigned) and all the computers are hardwired and on the same network.
From the PCs I can ping and resolve activedirectorydomain.loca l to 10.0.1.25 but from the Mac I can't.
I get this error ping: cannot resolve: activedirectorydomain.loca l: Unknown Host.
From the Mac and from the PCs I can ping 10.0.1.25. So I think this is a DNS issue. It's almost like the Mac is not accepting my statically assigned DNS address for some reason.
Any thoughts?
I have a small network with 5 PCs and 1 iMac. PCs are Win7 Pro and iMac is OSx 10.12.4 (sierra).
All 6 computers have the same DNS address. 10.0.1.25 (statically assigned) and all the computers are hardwired and on the same network.
From the PCs I can ping and resolve activedirectorydomain.loca
I get this error ping: cannot resolve: activedirectorydomain.loca
From the Mac and from the PCs I can ping 10.0.1.25. So I think this is a DNS issue. It's almost like the Mac is not accepting my statically assigned DNS address for some reason.
Any thoughts?
ASKER
Thanks for the reply.
I ran the command: sudo killall -HUP mDNSResponder, it asked me for password and I entered it. It didn't give me any confirmation or status, just terminal prompt, after I tried to ping the name again. Still no luck resolving the domain.local...
I ran the command: sudo killall -HUP mDNSResponder, it asked me for password and I entered it. It didn't give me any confirmation or status, just terminal prompt, after I tried to ping the name again. Still no luck resolving the domain.local...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for your comment!
Nothing worked :( I ended up editing the hosts file! I still don't know what is causing this but at this point, I am so fed I DONT EVEN CARE!
Nothing worked :( I ended up editing the hosts file! I still don't know what is causing this but at this point, I am so fed I DONT EVEN CARE!
That's actually not the correct way to fix it as that will cause problems when you move to other environments. What do you use for DHCP? You need to set the DHCP server to correctly dole out the DNS information to all your DHCP clients.
ASKER
Yes I 100% understand that however what can I do? I statically assigned a DNS server and Mac OS is completely ignoring that assignment.
I am only getting IP, subnet, and gateway from DHCP, DNS is assigned statically.
I am only getting IP, subnet, and gateway from DHCP, DNS is assigned statically.
DHCP servers normally set DNS for the DHCP clients as well. You must have something set incorrectly on your DHCP server, or you somehow block the DNS port 53.
Mac OS Versions
Sierra (10.12.0)
El Capitan (10.11.0)
Yosemite (10.10.4)
Mavericks (10.9)
Mountain Lion (10.8)
Lion (10.7)
sudo killall -HUP mDNSResponder
OSX Yosemite (10.10.0 – 10.10.3)
sudo discoveryutil mdnsflushcache
OSX
Leopard (10.5)
Snow Leopard (10.6)
sudo dscacheutil -flushcache