mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-03 20:07:36 +03:00
Add rejected DNS response cache support
This commit is contained in:
parent
f24a2aed7d
commit
93ae3f7a1e
12 changed files with 253 additions and 36 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue