Skip to content

Instantly share code, notes, and snippets.

@jordanorelli
Created November 22, 2021 00:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jordanorelli/3e7812d5aac2024fcc90f8de1f9d8710 to your computer and use it in GitHub Desktop.
Save jordanorelli/3e7812d5aac2024fcc90f8de1f9d8710 to your computer and use it in GitHub Desktop.
jorelli@Jordans-MacBook-Pro[0] ~: dig go.dev
; <<>> DiG 9.10.6 <<>> go.dev
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21884
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;go.dev. IN A
;; ANSWER SECTION:
go.dev. 300 IN A 216.239.38.21
go.dev. 300 IN A 216.239.36.21
go.dev. 300 IN A 216.239.32.21
go.dev. 300 IN A 216.239.34.21
;; Query time: 148 msec
;; SERVER: 208.59.247.45#53(208.59.247.45)
;; WHEN: Sun Nov 21 18:28:22 CST 2021
;; MSG SIZE rcvd: 99
jorelli@Jordans-MacBook-Pro[0] ~: curl -vI go.dev
* Could not resolve host: go.dev
* Closing connection 0
curl: (6) Could not resolve host: go.dev
jorelli@Jordans-MacBook-Pro[0] ~: curl --resolve go.dev:443:216.239.32.21 -vI https://go.dev
* Added go.dev:443:216.239.32.21 to DNS cache
* Hostname go.dev was found in DNS cache
* Trying 216.239.32.21:443...
* Connected to go.dev (216.239.32.21) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
* CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-CHACHA20-POLY1305
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=go.dev
* start date: Oct 19 21:35:48 2021 GMT
* expire date: Jan 17 21:35:47 2022 GMT
* subjectAltName: host "go.dev" matched cert's "go.dev"
* issuer: C=US; O=Google Trust Services LLC; CN=GTS CA 1D4
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x7fc624010200)
> HEAD / HTTP/2
> Host: go.dev
> user-agent: curl/7.77.0
> accept: */*
>
< HTTP/2 200
HTTP/2 200
< content-type: text/html; charset=utf-8
content-type: text/html; charset=utf-8
< vary: Accept-Encoding
vary: Accept-Encoding
< content-security-policy: connect-src 'self' https://golang.org https://play.golang.org www.google-analytics.com stats.g.doubleclick.net; default-src 'self'; font-src 'self' fonts.googleapis.com fonts.gstatic.com data:; frame-ancestors 'self'; frame-src 'self' www.google.com feedback.googleusercontent.com www.googletagmanager.com scone-pa.clients6.google.com www.youtube.com player.vimeo.com; img-src 'self' www.google.com www.google-analytics.com ssl.gstatic.com www.gstatic.com gstatic.com data: *; object-src 'none'; script-src 'self' 'sha256-n6OdwTrm52KqKm6aHYgD0TFUdMgww4a0GQlIAVrMzck=' 'sha256-4ryYrf7Y5daLOBv0CpYtyBIcJPZkRD2eBPdfqsN3r1M=' 'sha256-sVKX08+SqOmnWhiySYk3xC7RDUgKyAkmbXV2GWts4fo=' www.google.com apis.google.com www.gstatic.com gstatic.com support.google.com www.googletagmanager.com www.google-analytics.com ssl.google-analytics.com tagmanager.google.com; style-src 'self' 'unsafe-inline' fonts.googleapis.com feedback.googleusercontent.com www.gstatic.com gstatic.com tagmanager.google.com;
content-security-policy: connect-src 'self' https://golang.org https://play.golang.org www.google-analytics.com stats.g.doubleclick.net; default-src 'self'; font-src 'self' fonts.googleapis.com fonts.gstatic.com data:; frame-ancestors 'self'; frame-src 'self' www.google.com feedback.googleusercontent.com www.googletagmanager.com scone-pa.clients6.google.com www.youtube.com player.vimeo.com; img-src 'self' www.google.com www.google-analytics.com ssl.gstatic.com www.gstatic.com gstatic.com data: *; object-src 'none'; script-src 'self' 'sha256-n6OdwTrm52KqKm6aHYgD0TFUdMgww4a0GQlIAVrMzck=' 'sha256-4ryYrf7Y5daLOBv0CpYtyBIcJPZkRD2eBPdfqsN3r1M=' 'sha256-sVKX08+SqOmnWhiySYk3xC7RDUgKyAkmbXV2GWts4fo=' www.google.com apis.google.com www.gstatic.com gstatic.com support.google.com www.googletagmanager.com www.google-analytics.com ssl.google-analytics.com tagmanager.google.com; style-src 'self' 'unsafe-inline' fonts.googleapis.com feedback.googleusercontent.com www.gstatic.com gstatic.com tagmanager.google.com;
< strict-transport-security: max-age=31536000; includeSubDomains; preload
strict-transport-security: max-age=31536000; includeSubDomains; preload
< x-cloud-trace-context: adae7569b20d7a127ef4f9fc97e41135
x-cloud-trace-context: adae7569b20d7a127ef4f9fc97e41135
< date: Mon, 22 Nov 2021 00:29:14 GMT
date: Mon, 22 Nov 2021 00:29:14 GMT
< server: Google Frontend
server: Google Frontend
<
* Connection #0 to host go.dev left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment