Can write a program like ez-ipupdate(easydns-partner) and API syntax?(i may find it in ezipupdate src code)


New Member
I use ez-ipupdate, it looks like a bit old, and it get my ip in LAN(i run it in my phone, no vps), so you will see a domain's A record started with 192.168 ....., is there any rules(or document) for manualy write a program visits the dynDNS api? or i just look into ez-ipupdate source code and write like it?


Staff member
additionally the command line to be sure we update the public IP and not the private ip:




New Member
Hi Jing,

Don't know if this will help you or not, but I recently wrote a update-ddns program, that by default updates one or more zoneedit DDNS records, but is generalized that you can use it with any DDNS provider. You can specify multiple ways to get your IP - several are supplied to you.
For eg: the default config file provides 4 methods that the program will try before giving up:

    methods  (array)    = curl -s, \
                          curl -s, \
                          curl -s '', \
                          curl -s '' | \
                               sed 's/.*Current IP Address: \([0-9\.]*\).*/\1/g'

If you're interested, you can find it under rjwhite under Github: update-ddns
It does require 2 other modules, also under my Github - one for handling human-readable config files and the other for handling stdout/stderr and providing timeouts for hung processes. There is a man-page and perldoc for the program.
I'm not a zoneedit staff, I'm just a customer.

cheers -rj
Last edited: