Skip to content

Commit

Permalink
fixed debug msg printing resolved IP
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavo-iniguez-goya committed Jan 25, 2024
1 parent 016f484 commit c1ba2ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ func initSystemdResolvedMonitor() {
continue
}
ip = net.IP(a.RR.Address)
log.Debug("%d systemd-resolved monitor response: %s -> %s", i, a.RR.Key.Name, a.RR.Address)
log.Debug("%d systemd-resolved monitor response: %s -> %s", i, a.RR.Key.Name, ip)
if a.RR.Key.Type == systemd.DNSTypeCNAME {
log.Debug("systemd-resolved CNAME >> %s -> %s", a.RR.Name, a.RR.Key.Name)
dns.Track(a.RR.Name, a.RR.Key.Name /*domain*/)
Expand Down

0 comments on commit c1ba2ad

Please sign in to comment.