Closed tanyav2 closed 3 years ago
Currently, the endpoint for the proxy is /proxy: https://github.com/cloudflare/odoh-server-go/blob/master/odoh_server.go#L48
/proxy
According to the IETF draft, the endpoint for the proxy is not /proxy. Instead, it is just /dns-query and then we check whether the targethost and targetpath variables are set. If they are, it is a request for the proxy, otherwise, for the target.
/dns-query
targethost
targetpath
Currently, the endpoint for the proxy is
/proxy
: https://github.com/cloudflare/odoh-server-go/blob/master/odoh_server.go#L48According to the IETF draft, the endpoint for the proxy is not
/proxy
. Instead, it is just/dns-query
and then we check whether thetargethost
andtargetpath
variables are set. If they are, it is a request for the proxy, otherwise, for the target.