Skip to content

Commit

Permalink
log the dnstype (a,aaaa) of the entry we are setting
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronelliott committed Jun 16, 2021
1 parent 78cb445 commit 7a8a2ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -563,11 +563,11 @@ func ddnsRegisterIPAddresses(provider DDNSProvider, fqdn string, suffixCount int

normalip := NormalizeIP(v.String(), dnstype)

log.Println("DDNS setting", fqdn, suffixCount, normalip)
log.Println("DDNS setting", fqdn, suffixCount, normalip, dns.TypeToString[dnstype])
err := ddnsSetRecord(context.Background(), provider, fqdn, suffixCount, normalip, dnstype)
checkFatal(err)

log.Println("DDNS waiting for propagation", fqdn, suffixCount, normalip)
log.Println("DDNS waiting for propagation", fqdn, suffixCount, normalip, dns.TypeToString[dnstype])
err = ddnsWaitUntilSet(context.Background(), fqdn, normalip, dnstype)
checkFatal(err)

Expand Down

0 comments on commit 7a8a2ff

Please sign in to comment.