Add workaround for resolver/compat integration
This commit is contained in:
12
resolver/compat.go
Normal file
12
resolver/compat.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package resolver
|
||||
|
||||
import "net"
|
||||
|
||||
// This is a workaround for enabling the resolver to work with the compat
|
||||
// module without importing it. Long-term, the network module should not import
|
||||
// the resolver package, as this breaks the SPN hub.
|
||||
var (
|
||||
CompatDNSCheckInternalDomainScope string
|
||||
CompatSelfCheckIsFailing func() bool
|
||||
CompatSubmitDNSCheckDomain func(subdomain string) (respondWith net.IP)
|
||||
)
|
||||
Reference in New Issue
Block a user