- Install dnsmasq: 
brew install dnsmasq cd $(brew --prefix); mkdir etc; echo 'address=/.test/127.0.0.1' > etc/dnsmasq.confsudo cp -v $(brew --prefix dnsmasq)/homebrew.mxcl.dnsmasq.plist /Library/LaunchDaemonssudo launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plistsudo mkdir /etc/resolversudo bash -c 'echo "nameserver 127.0.0.1" > /etc/resolver/test'
          Last active
          February 20, 2019 12:19 
        
      - 
      
 - 
        
Save mauricerenck/e803158122b9d1730a34a2280f1a6bd0 to your computer and use it in GitHub Desktop.  
    make .test domains available without /etc/hosts
  
        
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment