Fix: upstream dns ExchangeContext workaround (#468)

This commit is contained in:
Comzyh
2020-01-10 14:13:44 +08:00
committed by Dreamacro
parent 2c0cc374d3
commit e68c0d088b
4 changed files with 5 additions and 2 deletions

View File

@ -134,6 +134,7 @@ func transform(servers []NameServer) []resolver {
NextProtos: []string{"dns"},
},
UDPSize: 4096,
Timeout: 5 * time.Second,
},
Address: s.Addr,
})