title: Pinging test.dev after Laravel Valet install returns "Unknown Host"
body: <p><strong>Update:</strong> Don't use ".dev". When this was originally posted in 2016, it was fine. Now it's not. Start by changing your TLD to somethinge else like ".localhost" or whatever. (This change would not have fixed my issue, but it might fix yours if you're still using ".dev").</p>
  
  <p><strong>Problem:</strong> I've installed Laravel Valet and it all seems to be working except when I <code>ping test.dev</code> (which just contains an index.htm file and is located in <code>~/Sites</code>), after hanging for a long time I get the response <code>ping: cannot resolve test.dev: Unknown host</code></p>
  
  <p>Here's what I've already done:</p>
  
  <ul>
  <li>I've gone through <a href="https://laravel.com/docs/5.2/valet" rel="noreferrer">the Laravel Valet docs</a> and everything installed fine.</li>
  <li>Apache is not running</li>
  <li><code>/etc/hosts</code> contains no mention of <code>test.dev</code></li>
  <li>I'm on valet v1.1.12</li>
  <li>I've restarted my computer</li>
  <li>I've installed php 7.0.7 via homebrew fresh and <code>--with-fpm</code></li>
  <li>My <code>$PATH</code> contains <code>$PATH:$HOME/.composer/vendor/bin</code></li>
  <li><code>sudo lsof -n -i:80 | grep LISTEN</code> returns the <code>caddy</code> proc</li>
  <li><code>brew services list</code> returns <code>dnsmasq</code> and is started</li>
  <li>I've updated brew, run <code>brew doctor</code> and all is good there</li>
  <li>I can start and stop valet successfully.</li>
  <li><code>valet paths</code> returns successfully: <code>
  [
  "/Users/nateritter/.valet/Sites",
  "/Users/nateritter/Sites"
  ]
  </code></li>
  <li>Using <code>valet link</code> inside the <code>test</code> directory has no effect on this issue</li>
  </ul>
  
  <p>Now, in addition to all this, I decided to try all the valet arguments out. <code>valet share</code> seemed to bork with an error at one point, which is interesting but I'm not sure it has anything to do with the original issue. </p>
  
  <p><code>ERROR:  Tunnel 'command_line' specifies invalid address 'test.dev:80': unexpected '[' in address test.dev:80</code></p>
  
  <p>After this I get 21 lines of <code>Failed to connect to 127.0.0.1 port 4040: Connection refused</code> and then an exception: </p>
  
  <pre><code>[Httpful\Exception\ConnectionErrorException]                                                                              
  Unable to connect to "http://127.0.0.1:4040/api/tunnels": 7 Failed to connect to 127.0.0.1 port 4040: Connection refused                                                                                                                              
  
  fetch-share-url
  </code></pre>