briansmith / webpki

WebPKI X.509 Certificate Validation in Rust
https://briansmith.org/rustdoc/webpki/
Other
459 stars 164 forks source link

"1.1.1.1" is a valid DNS name #203

Closed onoketa closed 3 years ago

onoketa commented 3 years ago

curl -H 'accept: application/dns-json' 'https://1.1.1.1/dns-query?name=example.com&type=AAAA'

Consider add this DNS name as a special case?

briansmith commented 3 years ago

It isn't a valid DNS name. It is an IP address. There is already an issue #54 to support IP addresses.