有污染,解析谷歌返回了 199.59.149.136 2001::9a5c:1061,分别是推特 IP 和非法 IPv6 。
```
$ curl -v --doh-url '
https://dns.cfiec.net/dns-query' www.google.com* Added
dns.cfiec.net:443:240e:e9:900b::6 to DNS cache
* Found bundle for host
dns.cfiec.net: 0x7fffed0e5680 [serially]
* Server doesn't support multiplex (yet)
* Trying 240e:e9:900b::6:443...
* TCP_NODELAY set
* Hostname '
dns.cfiec.net' was found in DNS cache
* Trying 240e:e9:900b::6:443...
* TCP_NODELAY set
* Connected to
dns.cfiec.net (240e:e9:900b::6) 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
* Connected to
dns.cfiec.net (240e:e9:900b::6) port 443 (#1)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=
dns.cfiec.net* start date: Oct 26 01:01:40 2020 GMT
* expire date: Jan 24 01:01:40 2021 GMT
* subjectAltName: host "
dns.cfiec.net" matched cert's "
dns.cfiec.net"
* issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
* 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 0x7fffed105700)
> POST /dns-query HTTP/2
Host:
dns.cfiec.netaccept: */*
content-type: application/dns-message
content-length: 32
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
* We are completely uploaded and fine
< HTTP/2 200
< server: h2o/dnsdist
< date: Sat, 21 Nov 2020 16:25:17 GMT
< content-type: application/dns-message
< content-length: 48
<
* Connection #0 to host
dns.cfiec.net left intact
* a DOH request is completed, 1 to go
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=
dns.cfiec.net* start date: Oct 26 01:01:40 2020 GMT
* expire date: Jan 24 01:01:40 2021 GMT
* subjectAltName: host "
dns.cfiec.net" matched cert's "
dns.cfiec.net"
* issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
* 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 0x7fffed10aea0)
> POST /dns-query HTTP/2
Host:
dns.cfiec.netaccept: */*
content-type: application/dns-message
content-length: 32
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
* We are completely uploaded and fine
< HTTP/2 200
< server: h2o/dnsdist
< date: Sat, 21 Nov 2020 16:25:18 GMT
< content-type: application/dns-message
< content-length: 60
<
* Connection #1 to host
dns.cfiec.net left intact
* a DOH request is completed, 0 to go
* DOH Host name:
www.google.com* TTL: 101 seconds
* DOH A: 199.59.149.136
* DOH AAAA: 2001:0000:0000:0000:0000:0000:9a5c:1061
* Trying 199.59.149.136:80...
* TCP_NODELAY set
* Connected to
www.google.com (199.59.149.136) port 80 (#0)
> GET / HTTP/1.1
> Host:
www.google.com> User-Agent: curl/7.68.0
> Accept: */*
>
```