Force resolvers to reconnect after connecting to SPN

This commit is contained in:
Daniel 2023-01-30 11:33:03 +01:00
parent bd0314ee9e
commit 3d69216c27
8 changed files with 103 additions and 17 deletions

View file

@ -56,6 +56,8 @@ func (mrc *mDNSResolverConn) IsFailing() bool {
func (mrc *mDNSResolverConn) ResetFailure() {}
func (mrc *mDNSResolverConn) ForceReconnect(_ context.Context) {}
type savedQuestion struct {
question dns.Question
expires time.Time