diff --git a/server_https.go b/server_https.go index 3a23350..8f34d70 100644 --- a/server_https.go +++ b/server_https.go @@ -60,6 +60,7 @@ func (srv *server) handleHTTP2Req(w http.ResponseWriter, r *http.Request) { for _, a := range m.Answer { log.Debugln("result", a.String()) } + w.Header().Set("content-type", "application/dns-message") d, _ := m.Pack() w.Write(d) }