Update ddns only if the IP has changed

Now based on your latest commit and PEP8'd.  Thanks for your patience and assistance.

Jay