I'm running OSX Yosemite as my development machine. I run a VPS for the product I'm developing at cursiveclojure.com. Every so often (3 times now over the last month or so) my Mac somehow gets into a state where it can't resolve that domain, even though it seems to work from elsewhere and the server is available. So right now:
~/d/riddley (master)> ping cursiveclojure.com ping: cannot resolve cursiveclojure.com: Unknown host ~/d/riddley (master)> dig cursiveclojure.com ANY +noall +answer ; <<>> DiG 9.8.3-P1 <<>> cursiveclojure.com ANY +noall +answer ;; global options: +cmd cursiveclojure.com. 10799 IN MX 10 cursiveclojure.com. cursiveclojure.com. 10799 IN A 184.108.40.206 cursiveclojure.com. 10799 IN TXT "v=spf1 a mx ip4:220.127.116.11 ip6:2a01:7c8:aab0:51f::1 -all" cursiveclojure.com. 10799 IN NS rush.easydns.com. cursiveclojure.com. 10799 IN NS nirvana.easydns.net. cursiveclojure.com. 10799 IN NS motorhead.easydns.org. cursiveclojure.com. 10799 IN SOA dns1.easydns.com. zone3.easydns.com. 1411422284 43200 10800 1209600 10800 ~/d/riddley (master)> ping 18.104.22.168 PING 22.214.171.124 (126.96.36.199): 56 data bytes 64 bytes from 188.8.131.52: icmp_seq=0 ttl=48 time=300.551 ms
A friend has confirmed that the site works fine from elsewhere. The only solution I have found is to restart my machine, flushing the DNS caches with
sudo discoveryutil udnsflushcaches doesn't seem to help.
Does anyone know what's going on?