We have a single iMac in our office running a Vagrant box exposing the public IP of Everyone in the office used to all be able to access sites on this box (which all use ".dev" such as http://domain.dev) using dnsmasq with the following settings in /usr/local/etc/dnsmasq.conf


Since we all updated to OSX Mavericks we've not been able to get this to work. I've looked through various walkthroughs on getting dnsmasq working (such as this and this) but they all rely on a localhost IP. One step suggested in various places is the addition of a dev entry within /etc/resolver so I created /etc/resolver/dev with this content:


However we're still not able to access sites using .dev. We can access them using though.

Any ideas?

In answer to a question in the comments, when I dig domain.dev @ I get:

; <<>> DiG 9.8.3-P1 <<>> domain.dev @
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17610
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;domain.dev.            IN  A

domain.dev.     0   IN  A

;; Query time: 3 msec
;; WHEN: Wed Mar 19 09:04:40 2014
;; MSG SIZE  rcvd: 44

but when I go to domain.dev (where domain.dev is a site set up on the server) in chrome I just get This webpage is not available


  • So what happens if you try to dig domain.dev @ What error do you get when you try to access the .dev sites? – devicenull Mar 19 '14 at 2:45
  • thanks for your reply - I added more detail to the question – robjmills Mar 19 '14 at 9:08
  • What was updated to Makericks, how does it 'not work' - what error messages are you seeing and where are you seeing them ? – user9517 Mar 19 '14 at 9:20
  • Literally just no longer able to access sites using .dev - the domains no longer resolving correctly to the vagrant box – robjmills Mar 19 '14 at 9:22
  • Are you sure your office computers are using the correct nameserver? Dnsmasq appears to be responding with what you'd expect. – devicenull Mar 19 '14 at 12:59

I've fixed this by changing /etc/resolver/dev to


I'm not sure entirely which this works or why the other version didn't.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.