Sync dynamic IP with openDNS service via ddclient

From Manjaro
Revision as of 01:37, 27 May 2019 by imported>Dalto (Minor update, remove dead links and minor format changes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Requirements - Account on openDNS

Service ddclient for sync dynamic IP need account in OpenDNS. You need:

  • Create an account on openDNS and login to OpenDNS Dashboard. Create a new Network in the settings.
  • Login on DNS-O-Matic Site using e-mail and password from OpenDNS.
  • Add new Service. From list select OpenDNS. Click button Update account info for sync OpenDNS Dashboard settings with DNS-O-Matic.

Setup openDNS in system settings

Set DNS addresses in resolv.conf file:

sudo nano /etc/resolv.conf.head

with code:

note: If Your ISP provide IPv6 support, add these DNS IPv6 addresses entries in next lines in the /etc/resolv.conf.head file:
nameserver 2620:0:ccc::2
nameserver 2620:0:ccd::2

Setup openDNS in ddclient

#1 Install ddclient and ddclient dispatcher for NetworkManager:

pamac build networkmanager-dispatcher-ddclient

#2 Create backup a ddclient.conf file:

sudo cp /etc/ddclient/ddclient.conf /etc/ddclient/ddclient.conf.skel

#3 Open ddclient.conf file in text editor.

sudo nano /etc/ddclient/ddclient.conf

#4 Delete current content, paste in:

note: REMEMBER - replace values email_address, password with correct values.


Save changes in a file.

#5 Run command to enable NetworkManager-dispatcher.service:

sudo systemctl enable NetworkManager-dispatcher.service

#6 Logout and login.

#7 Visit site: openDNS Dashboard to check sync status.

See Also