Skip to content →

Install ddclient on OS X

DynDNS LogoThe DynDNS OS X client has always seemed a bit clunky to me and outdated so I was looking for another way to use DynDNS with out that client. Thinking back I remembered that I used ddclient on one of my linux boxes from the command line a long while ago so I started looking into how I could implement that on my Macbook Air. I saw that Homebrew had a ddclient package so I got to work.

Using Homebrew to install ddclient was about as easy as it could get. I used the following simple command to install ddclient

Now that you have installed ddclient you now need to edit/create the ddclient.conf like so

Once you are in the file you can copy and paste the following configuration settings, adjusting the login, password, and subdomain to match your information on DynDNS.

Once you have saved the config you will want to run a test to make sure that ddclient updates dyndns with your current IP by running the following command

If it works properly you should see some output to the screen letting you know that your IP was updated and set to X.X.X.X (X.X.X.X being your current IP).

Once you have confirmed that it will update properly you can set ddclient to start at boot

Lastly you can start it now with the following command

After following all of these steps ddclient should be all set to run automatically every 5 minutes in the background.

Published in Apple Internet Technology

%d bloggers like this: