Kind of annoying. I use dev.*.com
's locally in order to develop, but it seems like instead of respecting each domain I've defined in my /etc/hosts
, my browsers are not able to reach out to any *.dev domain.
shopify.dev’s server IP address could not be found.
Things I've tried:
- Switching browsers
- Incognito windows
- Restarting my machine
- Verifying
/etc/host
doesn't have a greedy rule - Switched to Google's DNS
8.8.8.8
- Flushing the Mac DNS cache
scutil -dns
output:
DNS configuration
resolver #1
nameserver[0] : 8.8.8.8
flags : Request A records
reach : 0x00000002 (Reachable)
resolver #2
domain : local
options : mdns
timeout : 5
flags : Request A records
reach : 0x00000000 (Not Reachable)
order : 300000
resolver #3
domain : 254.169.in-addr.arpa
options : mdns
timeout : 5
flags : Request A records
reach : 0x00000000 (Not Reachable)
order : 300200
resolver #4
domain : 8.e.f.ip6.arpa
options : mdns
timeout : 5
flags : Request A records
reach : 0x00000000 (Not Reachable)
order : 300400
resolver #5
domain : 9.e.f.ip6.arpa
options : mdns
timeout : 5
flags : Request A records
reach : 0x00000000 (Not Reachable)
order : 300600
resolver #6
domain : a.e.f.ip6.arpa
options : mdns
timeout : 5
flags : Request A records
reach : 0x00000000 (Not Reachable)
order : 300800
resolver #7
domain : b.e.f.ip6.arpa
options : mdns
timeout : 5
flags : Request A records
reach : 0x00000000 (Not Reachable)
order : 301000
resolver #8
domain : dev
nameserver[0] : 127.0.0.1
flags : Request A records, Request AAAA records
reach : 0x00030002 (Reachable,Local Address,Directly Reachable Address)
DNS configuration (for scoped queries)
resolver #1
nameserver[0] : 8.8.8.8
if_index : 5 (en0)
flags : Scoped, Request A records
reach : 0x00000002 (Reachable)
scutil --dns
, then check /etc/resolver ;-)dig shopify.dev
and post the output to your question./etc/resolver
. Could that be the issue? I've never seen this file beforedev.*.com
pattern for local webservers. I think what happened was Laravel's Valet added this rule but didn't remove it on uninstall.