enomddu is a Dynamic DNS update utility for use with the registrar eNom. We have scripts written in Bash, PERL and PHP. eNom is a great service provider; Edoceo and our clients have trusted them for years. With their Dynamic DNS it's possible to create names under your domain that are on a dynamic IP address, awesome.

If your office is on a dynamic IP address, as some broadband providers do, this script could be run from some host in there to keep office.yourdomain.com pointed to the office internet connection. Then your VPN clients and other allowed traffic can point to the constant name, not the ever changing IP address. The Curo Small Business Server, which provides VPN remote access servies, uses Bash version of this tool.

To use setup a cron job (or however your system schedules tasks) to run this script every five minutes. Five minutes is the suggested value by eNom, but in our experience once an hour was acceptable. Adjust the paths for where ever this script was saved, the PEAR::HTTP_Request package is also needed, refer to your system or PHP documentation.

# fcron
@5 /opt/edoceo/bin/enomddu
# dcron/vixie-cron
*/5 * * * * /opt/edoceo/bin/enomddu

Bash Script

This script depends on having Perl's URI::Encode module.


Warning: file_get_contents(dl/enomddu.sh) [function.file-get-contents]: failed to open stream: No such file or directory in /var/www/edoceo.com/www.edoceo.com/view/creo/enomddu.php on line 32

This can also be downloaded from here.

The PHP Script

This script depends on the PEAR extension HTTP_Request.


Warning: file_get_contents(dl/enomddu) [function.file-get-contents]: failed to open stream: No such file or directory in /var/www/edoceo.com/www.edoceo.com/view/creo/enomddu.php on line 41

This can also be downloaded from here.

Change Log

Notes & Comments