Skip to content

Commit a8da121

Browse files
committed
dnsx/resolver: override proxy after final determineTransports call
1 parent 15d4476 commit a8da121

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

intra/dnsx/transport.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ runagain:
584584
var res2 []byte
585585
var nonalg, ans1 *dns.Msg // alg'd answer
586586

587-
netid := xdns.NetAndProxyID(NetTypeUDP, pids)
587+
netid := xdns.NetAndProxyID(NetTypeUDP, overrideProxyIfNeeded(pids, idstr(t), idstr(t2)))
588588

589589
// with t2 as the secondary transport, which could be nil
590590
nonalg, ans1, err = r.gateway.q(t, t2, presetIPs, netid, uid, msg, smm)

0 commit comments

Comments
 (0)