From 47adc51455003e5f2753a2504d5fec097683ff4b Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Wed, 10 May 2023 18:04:08 +0000 Subject: [PATCH] make notify message more detailed --- cli/update_viktorbarzin_me.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/update_viktorbarzin_me.go b/cli/update_viktorbarzin_me.go index 1d174206..ea3eec23 100644 --- a/cli/update_viktorbarzin_me.go +++ b/cli/update_viktorbarzin_me.go @@ -84,7 +84,7 @@ func notifyForIPChange(oldIP, newIP net.IP) error { // Notify if dyndns ip is different to public // Currently send a message to Viktor via the webhook handler const url = "https://webhook.viktorbarzin.me/fb/message-viktor" - body := []byte(fmt.Sprintf("Public IP (%s) is different than dynamic dns IP (%s)", oldIP.String(), newIP.String())) + body := []byte(fmt.Sprintf("Public IP (%s) is different than dynamic dns IP (%s). Job is running to update infra bind. As it stands GoDaddy does not provide an API to update glue records so please manually update the hostnames in the Godaddy UI to use the new IP: %s", oldIP.String(), newIP.String(), newIP.String())) // Send the HTTP request resp, err := http.Post(url, "application/json", bytes.NewBuffer(body))