How to setup DDClient - Dynamic DNS IP Updater for Ubuntu

preview_player
Показать описание
Following on from my video on OpenDNS, heres how to use DDClient to automatically tell OpenDNS (via DNS-O-Matic) when your Dynamic IP address changes.
This is a great alternative if your router has no custom DynDNS config options, such as BT Home Hub 3.

DDClient can also be used with other services such as DynDNS, No-IP, and DtDNS.

Install & Setup Instructions:
sudo apt-get install ddclient
daemon=3600
ssl=yes
protocol=dyndns2
login=Your OpenDNS login
password=Your OpenDNS Password

sudo nano /etc/default/ddclient
run_ipup="false"
run_daemon="true"
daemon_interval=3600

To run it initially:
sudo ddclient -daemon=0 -debug -verbose -noquiet

Once setup it will automatically run when your system is booted up, and send updates once every one hour (3600 seconds)

Рекомендации по теме
Комментарии
Автор

thanks a million times, very informative.

Alaouinouh
Автор

Hi tks for your video

I'd like to know that my server is running ddns service and with nordvpn service. For example: If change the vpn connection from HK (IP 1.1.1.1) to TW (IP: 2.2.2.2), which IP will be changed. So how to let DDNS client knows IP changes and updates

frank
Автор

Gracias en pleno 2020 me ha funcionado en un contenedor docker con Ubuntu

ivansalado
Автор

how to configure to server local with debian?

dharmaputra
Автор

How can I resolve this error message: Use of uninitialized value $opt{"daemon"} in numeric lt (<) at /usr/sbin/ddclient line 1129.

graememarett
Автор

@quidsup hope you are reading comments.. this works great but I can't figure out how to make my subdomainsip get updated the same way. I have added them in the dnsomatic page but when I run the testcommand it says all are updated.. But only the main site is.. Any ideas? Thanks

alexgilseg
Автор

when running debugging at the end i get an error
FATAL: Error loading the Perl module IO::Socket::SSL needed for SSL connect.
FATAL: On Debian, the package libio-socket-ssl-perl must be installed.

i tried sudo apt-get install libnet-ssleay-perl but get libnet-ssleay-perl is already the newest version.
what do i need to install to get the ssl working ?
great guide by the way and it was something i needed for accessing my NAS drive when away

madnlooney
Автор

One question if I'm going to install it do I have to mess with BIND9 or do I leave it alone? I'm running Ubuntu Server 13.04 and since I'm not a commercial user with my ISP they won't give me a static IP so I have to install something like DynDNS.

Finnboy
Автор

Thank you so, so much! It wasn't working for me and i was looking for answers for hours and hours befor i found your video!

Valansch
Автор

Extremely helpul. Just a workaround if you're using OpenDNS free: there are two updates in the config file (tested on Ubuntu Xenial)

# /etc/ddclient.conf
daemon=3600
ssl=yes
protocol=dyndns2
use=web, web=myip.dnsomatic.com
#First, change the server address
server=updates.opendns.com
login=yourOpenDNSlogin

#Second, change your network label as seen on OpenDNS dashboard
yourOpenDNSnetworklabel

amcallejasherrera
Автор

Should sudo nano /etc/default/ddclient.conf be /etc/default/ddclient ?

jelevin
Автор

i dont't know if you know but does the ddclient also work with noip.com?

Finnboy
Автор

HI, thank you for nice video, is ddclient can be used in local environment to update dynamic IPv6 address to the zone file of DNS

uniqueraj
Автор

it giving me an error saying "E: Unable to fetch some archives ...

praveenchukka
Автор

300 seconds check interval is not really appreciated by some DDNS providers, leading them to terminate one's account immediately ( if this violates their guidelines ). I know that mine is one of them.

Bandicoot
Автор

ok scrap that i found the command
sudo apt-get install libio-socket-ssl-perl

all is working perfect and updated fine

madnlooney
Автор

Thanks! That made it work for me, too, along with correcting a typo on "use=web, " where I put a dot instead of the comma. Oops!

garybenjamin
Автор

what if I wanna work with only a particulare interface ? say PPP0

HerbieSmalls
Автор

No vim ? :/

Back OT Instead of a room tour how about a home network tour ?

shafnet