Dynamic DNS for Dreamhost
Python ApacheConf
Latest commit 52f1cf5 Jun 8, 2015 @ianloic Merge pull request #1 from jayennis22/master
Added IP address to "good" and "nochg" responses. Sorry for the ridiculously slow turnaround.
Failed to load latest commit information.
index.cgi Update index.cgi Dec 15, 2014


Self-hosted Dynamic DNS for DreamHost Users

It's simple to run your own dynamic DNS server in your DreamHost account if
you use DreamHost to manage your domain names. 

 * Check out this directory to somewhere in your DH account that's publically

 * Get an API key from: https://panel.dreamhost.com/index.cgi?tree=home.api
   for "All dns functions". Put that key in ~/.ddns-api-key

 * Create a htpassword file with hostname you want to use as the username:
    htpasswd -c ~/.ddns.htpasswd home.example.com

 * Update the .htaccess file in this directory so that the AuthUserFile 
   points to your home directory:
    AuthUserFile /home/myusername/.ddns.htpasswd

 * Configure your router to talk to the new server. In DD-WRT choose,
   DDNS Service = Custom
   DYNDNS Server = the hostname that this script runs on (eg: www.example.com)
   URL = the path on this server, plus "?" (eg: /ddns/?)
   User Name & Host Name = the dynamic DNS host name (eg: home.example.com)
   Additional DDNS Options = --dyndns_system dyndns@dyndns.org
     This script implements the dyndns protocol so tell the router to use that.

NOTE: DreamHost DNS entries have a TTL (time-to-live) of 4 hours so they
won't be quite as dynamic as a real DynDNS service.