Difference between revisions of "Sync dynamic IP with openDNS service via ddclient"
From Manjaro
Views
Actions
Namespaces
Variants
Tools
imported>Handy |
imported>FadeMind m (remove fix command) |
||
Line 20: | Line 20: | ||
sudo pacman -S ddclient | sudo pacman -S ddclient | ||
'''#2 | '''#2''' Create backup a ''ddclient.conf'' file: | ||
sudo cp /etc/ddclient/ddclient.conf /etc/ddclient/ddclient.conf.bak | 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 | sudo gedit /etc/ddclient/ddclient.conf | ||
'''# | '''#4''' Delete current content, paste in:<br/> | ||
{{note| '''REMEMBER''' - replace values '''email_address''', '''password''' and '''NetworkName''' with correct values.}} | {{note| '''REMEMBER''' - replace values '''email_address''', '''password''' and '''NetworkName''' with correct values.}} | ||
Line 52: | Line 49: | ||
Save changes in a file. | 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 | sudo systemctl enable ddclient && sudo systemctl start ddclient && sudo systemctl status ddclient | ||
'''# | '''#6''' Visit site: [https://dashboard.opendns.com/ openDNS Dashboard] to check sync status. | ||
=Support= | =Support= |
Revision as of 05:47, 4 June 2014
Setup openDNS in system settings
Create a 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=300
syslog=yes
mail=root
mail-failure=root
pid=/var/run/ddclient.pid
ssl=yes
use=web, web=myip.dnsomatic.com
ssl=yes
server=updates.opendns.com
protocol=dyndns2
login=email_address
password=password
NetworkName
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.
Support
Official forum topic: [1]