Skip to content

Instantly share code, notes, and snippets.

@ejholmes
Created March 6, 2012 18:58
Show Gist options
  • Save ejholmes/1988193 to your computer and use it in GitHub Desktop.
Save ejholmes/1988193 to your computer and use it in GitHub Desktop.
ericholmes@eric-imac ~ » curl -I http://www.site.com
curl: (6) Couldn't resolve host 'www.site.com'
ericholmes@eric-imac ~ » curl -I http://site.com
HTTP/1.1 302 Found
Date: Tue, 06 Mar 2012 18:56:21 GMT
Server: UltraDNS Client Redirection Server
Last-Modified: Tue, 06 Mar 2012 18:56:21 GMT
Accept-Ranges: none
Connection: close
Content-type: text/html
Location: http://www.site.com/
ericholmes@eric-imac ~ » nslookup site.com
Server: 192.168.1.10
Address: 192.168.1.10#53
Non-authoritative answer:
Name: site.com
Address: 204.74.99.100
ericholmes@eric-imac ~ » nslookup www.site.com
Server: 192.168.1.10
Address: 192.168.1.10#53
** server can't find www.site.com: NXDOMAIN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment