Skip to content

Instantly share code, notes, and snippets.

@R4wm
Created January 21, 2019 21:45
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 R4wm/360b5d3cc33d6090724607f89fcdf307 to your computer and use it in GitHub Desktop.
Save R4wm/360b5d3cc33d6090724607f89fcdf307 to your computer and use it in GitHub Desktop.
curl -svo time /dev/null http://mintz5.com --doh-url https://faas.eb.vdms.com/showard/doh
@arch-lt ~>
@arch-lt ~>
@arch-lt ~>
@arch-lt ~> curl -svo time /dev/null http://mintz5.com --doh-url https://faas.eb.vdms.com/showard/doh
* Found bundle for host faas.eb.vdms.com: 0x562377afc3f0 [serially]
* Server doesn't support multi-use (yet)
* Trying 152.195.122.71...
* TCP_NODELAY set
* Hostname 'faas.eb.vdms.com' was found in DNS cache
* Trying 152.195.122.71...
* TCP_NODELAY set
* Connected to faas.eb.vdms.com (152.195.122.71) port 443 (#2)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
* Connected to faas.eb.vdms.com (152.195.122.71) port 443 (#1)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
* subject: C=US; ST=California; L=Los Angeles; O=Verizon Digital Media Services, Inc.; OU=SecOps; CN=*.eb.vdms.com
* start date: Oct 16 00:00:00 2018 GMT
* expire date: Oct 20 12:00:00 2020 GMT
* subjectAltName: host "faas.eb.vdms.com" matched cert's "*.eb.vdms.com"
* issuer: C=US; O=DigiCert Inc; CN=DigiCert SHA2 Secure Server CA
* 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 0x562377b28cc0)
> POST /showard/doh HTTP/2
Host: faas.eb.vdms.com
Accept: */*
Content-Type: application/dns-message
Content-Length: 28
* We are completely uploaded and fine
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
* subject: C=US; ST=California; L=Los Angeles; O=Verizon Digital Media Services, Inc.; OU=SecOps; CN=*.eb.vdms.com
* start date: Oct 16 00:00:00 2018 GMT
* expire date: Oct 20 12:00:00 2020 GMT
* subjectAltName: host "faas.eb.vdms.com" matched cert's "*.eb.vdms.com"
* issuer: C=US; O=DigiCert Inc; CN=DigiCert SHA2 Secure Server CA
* 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 0x562377b23460)
> POST /showard/doh HTTP/2
Host: faas.eb.vdms.com
Accept: */*
Content-Type: application/dns-message
Content-Length: 28
* We are completely uploaded and fine
* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
< HTTP/2 200
< content-type: application/dns-message
< date: Mon, 21 Jan 2019 21:44:44 GMT
< server: ECAcc (laa/7BC6)
< x-dns-resolver-used: 192.229.150.190:53
< x-duration-seconds: 0.000722
< content-length: 109
<
* Connection #2 to host faas.eb.vdms.com left intact
* a DOH request is completed, 1 to go
< HTTP/2 200
< content-type: application/dns-message
< date: Mon, 21 Jan 2019 21:44:44 GMT
< server: ECAcc (laa/7BC6)
< x-dns-resolver-used: 192.229.150.190:53
< x-duration-seconds: 0.000581
< content-length: 146
<
* Connection #1 to host faas.eb.vdms.com left intact
* a DOH request is completed, 0 to go
* DOH Host name: mintz5.com
* TTL: 549 seconds
* DOH A: 23.92.26.225
* Trying 23.92.26.225...
* TCP_NODELAY set
* Connected to mintz5.com (23.92.26.225) port 80 (#0)
> GET / HTTP/1.1
> Host: mintz5.com
> User-Agent: curl/7.63.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: nginx/1.14.0 (Ubuntu)
< Date: Mon, 21 Jan 2019 21:44:44 GMT
< Content-Type: text/html
< Content-Length: 2281
< Last-Modified: Sun, 23 Dec 2018 05:51:20 GMT
< Connection: keep-alive
< ETag: "5c1f2258-8e9"
< Accept-Ranges: bytes
<
{ [1200 bytes data]
* Connection #0 to host mintz5.com left intact
real 0m0.656s
user 0m0.037s
sys 0m0.015s
@arch-lt ~>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment