Sync dynamic IP with openDNS service via ddclient
From Manjaro
Views
Actions
Namespaces
Variants
Tools
Revision as of 12:53, 12 September 2014 by imported>FadeMind (big update - solved issue with dns-o-matic)
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 gedit /etc/resolv.conf.head
with code:
nameserver 208.67.222.222
nameserver 208.67.220.220
Setup openDNS in ddclient
#1 Install ddclient:
sudo pacman -S ddclient
#2 Create backup a ddclient.conf file:
sudo cp /etc/ddclient/ddclient.conf /etc/ddclient/ddclient.conf.bak
#3 Open ddclient.conf file in text editor.
sudo gedit /etc/ddclient/ddclient.conf
#4 Delete current content, paste in:
daemon=1800
syslog=yes
pid=/var/run/ddclient.pid
ssl=yes
use=web, web=myip.dnsomatic.com
server=updates.dnsomatic.com
protocol=dyndns2
login=email_address
password=password
all.dnsomatic.com
Save changes in a file.
#5 Run command to enable and start ddclient service daemon:
sudo systemctl enable ddclient && sudo systemctl start ddclient && sudo systemctl status ddclient
#6 Visit site: openDNS Dashboard to check sync status.