Im attempting to maintain an account at dyndns.org via php/curl. Im using (per RTFM):
https://$account:$pw@members.dyndns.org/nic/update?hostname=$host&myip=$ip
but I get a 'nohost' response if $host is new. If $host is an existing entry it works.
Has anyone used this method of communicating with dyndns? Is the api only used to update existing entries?
You can only send IP address updates to existing DynDNS hostnames with the DynDNS API, you cannot create new hostnames.
If you need a full API for creating/deleting/changing hostnames, Dynect SMB may interest you: http://www.dyndns.com/services/dynectsmb/