MCPcopy Create free account
hub / github.com/celzero/firestack / doDoh

Method doDoh

intra/doh/doh.go:508–537  ·  view source on GitHub ↗

Given a raw DNS query (including the query ID), this function sends the query. If the query is successful, it returns the response and a nil qerr. Otherwise, it returns a SERVFAIL response and a qerr with a status value indicating the cause. Independent of the query's success or failure, this func

(pid string, q *dns.Msg)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

QueryMethod · 0.95

Calls 7

asDohRequestMethod · 0.95
sendMethod · 0.95
WillErrFunction · 0.92
DFunction · 0.92
NewInternalQueryErrorFunction · 0.92
ServfailFunction · 0.92
padQueryFunction · 0.85

Tested by

no test coverage detected