I'm running dnsmasq on a 2016 MBP running Mac OS Sierra (10.12.1) but I'm unable to ping any .dev addresses despite having what I believe is the proper config. Running dig does return sane output.
/usr/local/etc/dnsmasq.conf
resolv-file=/usr/local/etc/resolv-dnsmasq.conf
address=/.dev/127.0.0.1
/etc/resolver/dev
nameserver 127.0.0.1
/usr/local/etc/resolv-dnsmasq.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
My DNS server list in System Preferences has only one entry pointing to 127.0.0.1.
When I run dig on a .dev address I get the following output:
; <<>> DiG 9.11.0-P1 <<>> test.dev
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36126
;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;test.dev. IN A
;; ANSWER SECTION:
test.dev. 0 IN A 127.0.0.1
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Dec 19 23:13:20 PST 2016
;; MSG SIZE rcvd: 42
I'm able to load external sites like google.com perfectly but if I try accessing a local web server or even pinging a .dev address it fails.
Help would be appreciated!