From da0665796305ef8f40777ccac1f4aaee412811cd Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 19 May 2018 02:39:32 +0200 Subject: [PATCH] application/dns-message --- dnscrypt-proxy/xtransport.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnscrypt-proxy/xtransport.go b/dnscrypt-proxy/xtransport.go index 8e966cdb..e0645b13 100644 --- a/dnscrypt-proxy/xtransport.go +++ b/dnscrypt-proxy/xtransport.go @@ -257,7 +257,7 @@ func (xTransport *XTransport) Post(url *url.URL, accept string, contentType stri func (xTransport *XTransport) DoHQuery(useGet bool, url *url.URL, body []byte, timeout time.Duration) (*http.Response, time.Duration, error) { padLen := 63 - (len(body)+63)&63 padding := xTransport.makePad(padLen) - dataType := "application/dns-udpwireformat" + dataType := "application/dns-message" if useGet { qs := url.Query() qs.Add("ct", "")