diff --git a/tunneldns/https_upstream.go b/tunneldns/https_upstream.go index 0544112a..ac9b60ec 100644 --- a/tunneldns/https_upstream.go +++ b/tunneldns/https_upstream.go @@ -82,7 +82,7 @@ func (u *UpstreamHTTPS) exchangeWireformat(msg []byte) ([]byte, error) { return nil, errors.Wrap(err, "failed to create an HTTPS request") } - req.Header.Add("Content-Type", "application/dns-udpwireformat") + req.Header.Add("Content-Type", "application/dns-message") req.Host = u.endpoint.Hostname() resp, err := u.client.Do(req)