Wget is a non-interactive commandline tool, so it may easily be called from scripts, cron jobs etc. It can be used on Linux or freeBSD based platforms like RaspberryPi, OS X and Linux machines.

There are two exceptions when using wget method.

  • Wget does not support basic authentication embedded in URL so you need to pass in the password (or MD5 /SHA256 of the password) as a query string parameter.
  • URL should be enclosed in double quotes otherwise the parameters will not be sent by Wget.

  • Example:
    wget "https://api.dynu.com/nic/update?hostname=example.dynu.com&myip=

    If you do not want your ipv4 to update, you may pass in the parameter myip=no. Similarly, if you do not want your ipv6 to be updated, you may pass in the parameter myipv6=no. For myip and myipv6 paramater, you can pass in =no, =ipaddress or do not pass in the parameter at all.

    Here are some common update URLs:

    Update one domain name

  • Non SSL: http://api.dynu.com/nic/update?hostname=example.dynu.com&password=PASSWORD
  • SSL Format: https://api.dynu.com/nic/update?hostname=example.dynu.com&password=PASSWORD

  • Update all domains in your account

  • Non SSL: http://api.dynu.com/nic/update?username=USERNAME&password=PASSWORD
  • SSL Format: https://api.dynu.com/nic/update?username=USERNAME&password=PASSWORD

  • Update an alias

  • Non SSL: http://api.dynu.com/nic/update?hostname=example.dynu.com&alias=Alias&username=USERNAME&password=PASSWORD
  • SSL Format: https://api.dynu.com/nic/update?hostname=example.dynu.com&alias=Alias&username=USERNAME&password=PASSWORD
  • For more information on update URLs and methodology, you may refer to the IP Update Protocol page.