Hi!
I’ve been tring create a script to ensure that DDNS records are correctly and timely updated, and get an alert if it doesn’t when I get home.
Sorry if it seems like a stupid quuestion. But I’m rather new to HA and programming. After going around the community and still have no clue how to do this, thought I need some help.
Much appreciated.
This is how I think it should work.
1) Use https://checkip.amazonaws.com/ to get the current outgoing IP address.
2) Resolve my HA domain and get the A record.
3) Compare.
Any tips would be of great help.
Thanks.