Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
orvice committed Aug 16, 2023
1 parent 5679a6e commit a7728bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dns/cloudflare.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ func (c *CloudFlare) UpdateIP(ctx context.Context, domain, ip string) error {
Name: r.Name,
Content: ip,
})

slog.Info("update dns record",
"record_id", r.ID,
"domain", domain, "old_ip", oldIP, "new_ip", ip)

if err != nil {
return err
}
Expand Down

0 comments on commit a7728bb

Please sign in to comment.