Skip to content

Instantly share code, notes, and snippets.

@helb
Created May 27, 2019 14:11
Show Gist options
  • Save helb/7bc648d15d22ae68921b06dff9ce2ab5 to your computer and use it in GitHub Desktop.
Save helb/7bc648d15d22ae68921b06dff9ce2ab5 to your computer and use it in GitHub Desktop.
DoH odvr vs google
* Trying 2001:148f:ffff::1:443...
* TCP_NODELAY set
* Connected to odvr.nic.cz (2001:148f:ffff::1) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [209 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [102 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1456 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=odvr.nic.cz
* start date: Mar 8 00:00:00 2019 GMT
* expire date: Mar 7 12:00:00 2020 GMT
* issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=RapidSSL RSA CA 2018
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* 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
} [5 bytes data]
* Using Stream ID: 1 (easy handle 0x55ed06ee52b0)
} [5 bytes data]
> GET /doh?dns=AAAAAAABAAAAAAAAA25pYwJjegAAAQAB HTTP/2
> Host: odvr.nic.cz
> User-Agent: curl/7.65.0
> accept: application/dns-message
>
{ [5 bytes data]
* Connection state changed (MAX_CONCURRENT_STREAMS == 4294967295)!
} [5 bytes data]
< HTTP/2 200
< content-type: application/dns-message
< content-length: 40
< cache-control: max-age=912
<
{ [5 bytes data]
* Connection #0 to host odvr.nic.cz left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment