where to put dyndns-script?

hello,

i´m not that crack and wondering where to put a little script into /var/chroot-pppoe/...../ip-up the automatically refresh my dynamic dns on refreshing ppp0.

thanks for help!

seb