Skip to content

Instantly share code, notes, and snippets.

@christopher-baek
Last active April 20, 2023 21:21
Show Gist options
  • Save christopher-baek/333146d953c87b3667c59c4e6e250454 to your computer and use it in GitHub Desktop.
Save christopher-baek/333146d953c87b3667c59c4e6e250454 to your computer and use it in GitHub Desktop.
Configure ddclient withNamecheap

Configure ddclient with Namecheap

Namecheap Configuration

  1. Click the Manage button next to the domain in the Domain List view
  2. In the Domain tab, scroll down and remove any entries in the Redirect Domain list
  3. In the Advanced DNS tab...
  4. Turn on Dynamic DNS and make a note of the password
  5. Add an A Record for @ pointing to 127.0.0.1

ddclient Configuration

  1. Install (fill in dummy values for the TUI)

    sudo apt-get install ddclient libio-socket-ssl-perl
    
  2. Edit /etc/ddclient.conf to look like the following

    ssl=yes
    use=web, web=dynamicdns.park-your-domain.com/getip
    protocol=namecheap
    server=dynamicdns.park-your-domain.com
    login=YOURDOMAIN.COM
    password='***'
    YOURHOST
    
  3. Test

    sudo ddclient -query
    sudo ddclient -debug -verbose -noquiet
    
  4. Restart

    sudo service ddclient restart
    
@riordant
Copy link

riordant commented Apr 8, 2023

something important I've noticed for point 5: it's ok to assign to localhost if the IP has not already been set for the DNS, but if you're IP is already pointing to it, you should put in the current server IP there (you might be changing hosts, for example).
Otherwise it assigns localhost to the DNS initially - but it will correctly update to the new IP on the next change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment