Difference between revisions of "Sync dynamic IP with openDNS service via ddclient"
Sync dynamic IP with openDNS service via ddclient (view source)
Revision as of 06:16, 18 February 2018
, 6 years agonetworkmanager-dispatcher-ddclient
imported>FadeMind |
imported>FadeMind (networkmanager-dispatcher-ddclient) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
[[File:Open-dns-logo.png|center]] | [[File:Open-dns-logo.png|center]] | ||
== Requirements - Account on openDNS == | |||
Service ddclient for sync dynamic IP need account in OpenDNS. You need: | |||
* Create an account on [https://store.opendns.com/get/home-free openDNS] and login to [https://dashboard.opendns.com/ OpenDNS Dashboard]. Create a new Network in the settings. | |||
* Login on [https://www.dnsomatic.com/account/ 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 == | == Setup openDNS in system settings == | ||
Line 14: | Line 20: | ||
<code>nameserver 2620:0:ccc::2<br/> | <code>nameserver 2620:0:ccc::2<br/> | ||
nameserver 2620:0:ccd::2<br/></code>}} | nameserver 2620:0:ccd::2<br/></code>}} | ||
== Setup openDNS in ddclient == | == Setup openDNS in ddclient == | ||
'''#1''' Install ddclient: | '''#1''' Install ddclient and ddclient dispatcher for NetworkManager: | ||
yaourt -S networkmanager-dispatcher-ddclient | |||
'''#2''' Create backup a ''ddclient.conf'' file: | '''#2''' Create backup a ''ddclient.conf'' file: | ||
sudo cp /etc/ddclient/ddclient.conf /etc/ddclient/ddclient.conf. | sudo cp /etc/ddclient/ddclient.conf /etc/ddclient/ddclient.conf.skel | ||
'''#3''' Open ''ddclient.conf'' file in text editor. | '''#3''' Open ''ddclient.conf'' file in text editor. | ||
Line 39: | Line 33: | ||
'''#4''' Delete current content, paste in:<br/> | '''#4''' Delete current content, paste in:<br/> | ||
{{note| '''REMEMBER''' - replace values '''email_address''', '''password | {{note| '''REMEMBER''' - replace values '''email_address''', '''password''' with correct values.}} | ||
---- | ---- | ||
<code> | <code> | ||
daemon= | daemon=1800<br/> | ||
syslog=yes<br/> | syslog=yes<br/> | ||
pid=/var/run/ddclient.pid<br/> | pid=/var/run/ddclient.pid<br/> | ||
ssl=yes<br/> | ssl=yes<br/> | ||
use=web, web=myip.dnsomatic.com<br/> | use=web, web=myip.dnsomatic.com<br/> | ||
server=updates.dnsomatic.com<br/> | |||
server=updates. | |||
protocol=dyndns2<br/> | protocol=dyndns2<br/> | ||
login='''email_address'''<br/> | login='''email_address'''<br/> | ||
password='''password'''<br/> | password='''password'''<br/> | ||
all.dnsomatic.com<br/> | |||
</code> | </code> | ||
---- | ---- | ||
Line 61: | Line 52: | ||
Save changes in a file. | Save changes in a file. | ||
'''#5''' Run command to enable | '''#5''' Run command to enable NetworkManager-dispatcher.service: | ||
sudo systemctl enable | sudo systemctl enable NetworkManager-dispatcher.service | ||
'''#6''' Visit site: [https://dashboard.opendns.com/ openDNS Dashboard] to check sync status. | '''#6''' Logout and login. | ||
'''#7''' Visit site: [https://dashboard.opendns.com/ openDNS Dashboard] to check sync status. | |||
=Support= | =Support= | ||
[https://forum.manjaro.org/index.php?topic=6881.0 Official forum topic] | |||
=See Also= | =See Also= | ||
[http://opendns.com openDNS Homepage] | [http://opendns.com openDNS Homepage] | ||
[https://www.dnsomatic.com/ DNS-O-Matic] | |||
[https://en.wikipedia.org/wiki/OpenDNS Wikipedia Article] | [https://en.wikipedia.org/wiki/OpenDNS Wikipedia Article] |