Skip to content

Commit 0d65d34

Browse files
committed
Update agent.go
1 parent e381372 commit 0d65d34

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

agent.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,6 @@ func refreshDNSEntries(ctx context.Context, iptables *Firewall, allowedEndpoints
239239
// add to cache with new TTL
240240
dnsProxy.Cache.Set(domainName, answer)
241241

242-
go dnsProxy.ApiClient.sendDNSRecord(dnsProxy.CorrelationId, dnsProxy.Repo, domainName, answer.Data)
243-
244242
WriteLog(fmt.Sprintf("domain resolved: %s, ip address: %s, TTL: %d", domainName, answer.Data, answer.TTL))
245243
}
246244
}

0 commit comments

Comments
 (0)