As a maintainer of ddclient I took a closer look since this patch has been reported [1] upstream. The patch looks nice but as I wrote in comment:2 I think it would be more logic to ignore the returned ip. Unless there are serious reasons not to do so, I'll change ddclient that way.
Regards, wimpunk. [1] https://sourceforge.net/apps/trac/ddclient/ticket/10 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org