Add rejected DNS response cache support

This commit is contained in:
世界
2024-03-23 21:43:22 +08:00
parent 3908270235
commit 3ba856cf75
12 changed files with 253 additions and 36 deletions
+1
View File
@@ -58,6 +58,7 @@ func NewTransport(options dns.TransportOptions) (*Transport, error) {
return nil, E.New("missing router in context")
}
transport := &Transport{
options: options,
router: router,
interfaceName: linkURL.Host,
autoInterface: linkURL.Host == "auto",