//
pkg.gl
Category
github.com/utilitywarehouse/coredns
plugin
pkg
doh
package
1.2.2
Repository:
https://github.com/utilitywarehouse/coredns.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
7
Dependents
0
Files
100 SLOC
#
Functions
NewRequest
NewRequest returns a new DoH request given a method, URL (without any paths, so exclude /dns-query) and dns.Msg.
RequestToMsg
RequestToMsg converts a http.Request to a dns message.
ResponseToMsg
ResponseToMsg converts a http.Response to a dns message.
#
Constants
MimeType
MimeType is the DoH mimetype that should be used.
Path
Path is the URL path that should be used.