Dynamic DNS Clients for ZoneEdit that use ssl and Tokens instead of User:Pass

482947

New Member
Hello, Mark, Forum,

Which dynamic dns clients work with ZoneEdit that use ssl and tokens instead of user and pass authentication? ddclient uses ssl, but I don't see any config value for tokens as the authentication. Inadyn used to work with ZoneEdit and had ssl (and https), but I don't see where the token value would go. It would be nice if it were a client that operated cross platform (BSD, Linux, Mac, Windows), which ddclient and inadyn are.

The recommended client, ez-ipupdate, works, but it seems to require user pass as authentication. System NS has a way to do it with curl/wget (http://system-ns.com/services/dynamic):

http://system-ns.com/api?type=dynamic&domain=DOMAIN&command=COMMAND&token=TOKEN&ip=IP

So the shell script would be:

#!/bin/bash
wget -q -O- --post-data "type=dynamic&domain=mydomain.system-ns.net&command=set&token=880078764367979fe765c0fa3f4efff1" http://system-ns.com/api | grep -v '"code":0' | awk '{print d, $0}' "d=$(date)" >> ~/systemns/systemns.log

But that requires command line guru-ness, creating a crontab and an /etc/rc.d/ entry.

Thanks,

Gordon
 

zeadmin

Administrator
Staff member
Hi Gordon, you can use an auth token with any client, you simply use the token in the place of your account password. The main difference is that if your device is compromised, they cannot use the token to login to your account control panel.
 

482947

New Member
Hello, zeadmin, Thank you for the reply. Yep, much better to use tokens than username password for exactly the reason you state.

So for ez-ipupdate.conf that would be:

service-type=easydns-partner
partner=zoneedit
server=api.cp.zoneedit.com
url=/dyn/ez-ipupdate.php
user=<token> # Instead of ZoneEdit.com Username : Password
host=subdomain.domain.tld
interface=rx0
cache-file=/tmp/ez-ipupdate.cache

I don't see a "Password" field or option in ez-ipupdate.

I'll try to see if ddclient can do the same thing. If anyone else has an interest, they can post here which ddns clients they got to work with tokens. I can also try to download other dynamic dns clients and see if I can get them to work with tokens on FreeBSD.

Gordon
 
Top