Very simple Python script that tracks one or multiple hosts/domains for IP changes, and prints it in a Matrix room.
# docker logs ipchanged
29-09-2023 - 11:26:35 - Logged in as @turtlebot:matrix.org
29-09-2023 - 11:26:35 - IP address for be.yeri.be is 94.105.123.126
29-09-2023 - 11:26:35 - IP address for sg.yeri.be is 58.96.238.208
29-09-2023 - 11:26:35 - IP address for industry.yeri.be is 78.23.172.72
29-09-2023 - 11:29:36 - IP address for be.yeri.be is 94.105.123.126
29-09-2023 - 11:29:36 - IP address for sg.yeri.be is 58.96.238.208
29-09-2023 - 11:29:36 - IP address for industry.yeri.be is 78.23.172.72
Includes a Docker container to keep it running.
I made it less noisy (i.e. won’t talk when the IP didn’t change) and as the IP of my DynDNS hosts hasn’t changed yet, there’s not much to see… 😉
Leave a Reply…