Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

Ubuntu – OpenDNS Client Install and Configure

Posted on December 28, 2015December 28, 2015 By David Kittell
sudo apt-get install ddclient

Select “Other” and tap the Enter key

Config Screen 1
Config Screen 1

Type in your defined server and tap the Enter key

Config Screen 2
Config Screen 2

Select “dyndns2” and tap the Enter key

Config Screen 3
Config Screen 3

Type in your username and tap the Enter key
Type in your password and tap the Enter key
Type in your password again and tap the Enter key

Type in the network interface you use (typically eth0)

Config Screen 6
Config Screen 6

Type in the update server and tap the Enter key

Config Screen 7
Config Screen 7

After all of this done run the below just to make sure you have everything to make it secure

sudo cp /etc/ddclient.conf /etc/ddclient.conf.original

sudo echo "daemon=300" > /etc/ddclient.conf
sudo echo "pid=/var/run/ddclient.pid" >> /etc/ddclient.conf
sudo echo "ssl=yes" >> /etc/ddclient.conf
sudo echo "" >> /etc/ddclient.conf
sudo echo "##" >> /etc/ddclient.conf
sudo echo "## OpenDNS.com account-configuration" >> /etc/ddclient.conf
sudo echo "##" >> /etc/ddclient.conf
sudo echo "use=web, web=myip.dnsomatic.com" >> /etc/ddclient.conf
sudo echo "ssl=yes" >> /etc/ddclient.conf
sudo echo "server=updates.opendns.com" >> /etc/ddclient.conf
sudo echo "protocol=dyndns2" >> /etc/ddclient.conf
sudo echo "login=opendns_username" >> /etc/ddclient.conf
sudo echo "password=opendns_password" >> /etc/ddclient.conf
sudo echo "opendns_network_label" >> /etc/ddclient.conf
sudo cp /etc/default/ddclient /etc/default/ddclient.original
sudo sed -i 's|run_daemon="false"|run_daemon="true"|g' /etc/default/ddclient

sudo /etc/init.d/ddclient restart
sudo /etc/init.d/ddclient status

If needed you can reconfigure the client via the screens again with this command

dpkg-reconfigure ddclient
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.

Related

Code UNIX Shell Scripts

Post navigation

Previous post
Next post

Related Posts

Prevent Browser Cache

Posted on August 21, 2013October 26, 2015

Response.Expires = 0 Response.Expiresabsolute = Now() – 1 Response.AddHeader "pragma","no-cache" Response.AddHeader "cache-control","private" Response.CacheControl = "no-cache" <cfheader name="expires" value="#now()#"> <cfheader name="pragma" value="no-cache"> <cfheader name="cache-control" value="no-cache, no-store, must-revalidate"> <meta http-equiv="expires" content="Mon, 06 Jan 1990 00:00:01 GMT"> <% response.setHeader("Cache-Control","no-cache"); //HTTP 1.1 response.setHeader("Pragma","no-cache"); //HTTP 1.0 response.setDateHeader ("Expires", 0); //prevents caching at the proxy server…

Read More

Ubuntu – Create Samba Share

Posted on January 10, 2020

sudo apt install samba cd /etc/samba sudo cp smb.conf smb.conf.bak sudo mkdir -p /var/shares/public sudo chmod 755 -R /var/shares/ echo "[Share]" | sudo tee -a smb.conf echo "comment = Samba file share." | sudo tee -a smb.conf echo "path = /var/shares/public/" | sudo tee -a smb.conf echo "browseable = yes"…

Read More

Mac OS X Terminal – New Computer Setup Script

Posted on January 13, 2017August 22, 2018

This is a collection of configurations for the setup a new Mac in a business environment. #!/bin/sh clear echo "Preparing Functions…" # Functions – Start # Function to convert IP Subnet Mask to CIDR function mask2cdr () { # Assumes there’s no "255." after a non-255 byte in the mask…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Front Page
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions
  • Open On Screen Keyboard (OSK)
  • SQLite - Auto-Increment / Auto Generate GUID
©2025 David Kittell | WordPress Theme by SuperbThemes
 

Loading Comments...
 

You must be logged in to post a comment.