Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ func (uc *UpstreamConfig) VerifyDomain() string {
}

// UpstreamSendClientInfo reports whether the upstream is
// configured to send client info to Control D DNS server.
// configured to send client info to the DNS server.
//
// Client info includes:
// - MAC
Expand Down
3 changes: 3 additions & 0 deletions doh.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ func addHeader(ctx context.Context, req *http.Request, uc *UpstreamConfig) {
dohHeader = newControlDHeaders(ci)
case uc.isNextDNS():
dohHeader = newNextDNSHeaders(ci)
default:
// For custom upstreams with send_client_info enabled, use ControlD-style headers
dohHeader = newControlDHeaders(ci)
}
}
}
Expand Down