Inconsistency in DNS stamps spec vs calculator vs usage in dnscrypt-proxy #1862
cobratbq
started this conversation in
Potential issues
Replies: 1 comment
-
Thanks! This has been clarified in the specification. Having the port number in the address as originally specified is would actually make more sense, and be consistent with DNSCrypt. However, current implementations expect it to be after the hostname, so the specification should reflect what's actually deployed. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In follow-up of #1861, I looked into something that confused me yesterday-night: there seems to be an inconsistency in how DNS stamps are defined vs. implemented.
Specification, section "DNS-over-HTTPS stamps"
Implying that the port number could optionally be added here.
No mention of port number at all.
Online DNS Stamp calculator
The following labels as shown in the calculator ...
No mention of port number.
Explicitly mentioned port number.
Inconsistency
The implementation (dnscrypt-proxy) seems to follow the spec primarily, i.e. not expecting the port in the host name (
ProviderName
) field. I think either calculator or spec may need clearing up.Somewhat counterintuitively (maybe), it makes sense to have the "server address" only be an address. This makes it seem more like the optionally added bootstrapping information, while the host name contains the full location, i.e. with port number.
@jedisct1 I just want to point this out to make sure you are aware of it.
Beta Was this translation helpful? Give feedback.
All reactions