Create a gist now

Instantly share code, notes, and snippets.

Carbon:~ waiwai$ dig ubuntu.stackexchange.com
; <<>> DiG 9.6.0-APPLE-P2 <<>> ubuntu.stackexchange.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15623
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;ubuntu.stackexchange.com. IN A
;; ANSWER SECTION:
ubuntu.stackexchange.com. 20360 IN A 64.34.119.12
;; Query time: 10 msec
;; SERVER: 10.0.1.1#53(10.0.1.1)
;; WHEN: Tue Dec 28 20:11:38 2010
;; MSG SIZE rcvd: 58
Carbon:~ waiwai$ telnet 64.34.119.12 80
Trying 64.34.119.12...
Connected to stackoverflow.com.
Escape character is '^]'.
GET / HTTP/1.1
HOST: ubuntu.stackexchange.com
HTTP/1.1 301 Moved Permanently
Location: http://askubuntu.com/
Date: Wed, 29 Dec 2010 04:11:55 GMT
Content-Length: 138
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="http://askubuntu.com/">here</a>.</h2>
</body></html>
Connection closed by foreign host.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment