ddclient to update dynamic DNS entries at a dynamic DNS service

Discussion in 'Linux Networking' started by Larry Cohen, Sep 12, 2004.

  1. Larry Cohen

    Larry Cohen Guest

    I have a linux machine setup in our high school computer lab. I've set up
    an account with a dynamic DNS service and have given the computer a hostname
    supported by the service. I downloaded and installed a linux client called
    ddclient to update the dynamic DNS IP address entries so that the hostname
    always points to the linux box. IP addresses are dynamically assigned by a
    dhcp server in our school district. The question I have is does ddclient
    start automatically when I start the linux computer? Here are the
    installation instructions that I followed. Ddclient was downloaded as a tar
    file, which I extracted. I copied the ddclient file to /usr/sbin/ and I
    copied the configuration file, ddclient.conf, to /etc/ddclient.conf and
    customized it to my dynamic dns service provider. Are those steps
    sufficient to enable ddclient to run automatically when I start linux? If
    not, what else do I need to do? There is reference in the readme file about
    running ddclient as a daemon, but no specific instructions about that for
    the installation instructions I followed, unless copying the files to their
    locations described above accomplishes that.
    Larry Cohen, Sep 12, 2004
    1. Advertisements

  2. No, unless the installer put a boot-time script in /etc/init.d or /etc/rc.d,
    depending on your distro. You should start by reading up on the Linux boot
    process-- try http://www.tldp.org/LDP/intro-linux/html/sect_04_02.html.

    I have a similar setup with ipcheck (another DDNS client), and I run it both
    at boot, and daily from a cron job.

    Good luck,
    Andrew Schulman, Sep 12, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.