ci: added freebsd version

This commit is contained in:
nadoo committed 2021-04-19 10:39:40 +08:00
1 parent 2d16870803
commit 2a7eed7667
11 files changed
+34 -25

No files matched your search

+1 -1
View File
@@ -150,7 +150,7 @@ func (c *Client) exchange(qname string, reqBytes []byte, preferTCP bool) (
network = "tcp"
dialer := c.proxy.NextDialer(qname + ":53")
// if we are resolving the dialer's domain, then use Direct to avoid denpency loop
// if we are resolving the dialer's domain, then use Direct to avoid dependency loop
// TODO: dialer.Addr() == "REJECT", tricky
if strings.Contains(dialer.Addr(), qname) || dialer.Addr() == "REJECT" {
dialer = proxy.Default