Difference between revisions of "Sync dynamic IP with openDNS service via ddclient"

Marked this version for translation
m (added languages and translate tags)
(Marked this version for translation)
Line 5: Line 5:
[[File:Open-dns-logo.png|center]]
[[File:Open-dns-logo.png|center]]
<translate>
<translate>
== Requirements - Account on openDNS ==
== Requirements - Account on openDNS == <!--T:1-->


<!--T:2-->
Service ddclient for sync dynamic IP need account in OpenDNS. You need:
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.
* 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.
Line 13: Line 14:




== Setup openDNS in system settings ==
== Setup openDNS in system settings == <!--T:3-->


<!--T:4-->
Set DNS addresses in resolv.conf file:
Set DNS addresses in resolv.conf file:
  sudo nano /etc/resolv.conf.head
  sudo nano /etc/resolv.conf.head


<!--T:5-->
with code:<br/>
with code:<br/>
<code>nameserver 208.67.222.222<br/>
<code>nameserver 208.67.222.222<br/>
nameserver 208.67.220.220<br/></code>
nameserver 208.67.220.220<br/></code>


<!--T:6-->
{{note| If Your ISP provide IPv6 support, add these DNS IPv6 addresses entries in next lines in the ''/etc/resolv.conf.head'' file:<br/>
{{note| If Your ISP provide IPv6 support, add these DNS IPv6 addresses entries in next lines in the ''/etc/resolv.conf.head'' file:<br/>
<code>nameserver 2620:0:ccc::2<br/>
<code>nameserver 2620:0:ccc::2<br/>
Line 27: Line 31:




== Setup openDNS in ddclient ==
== Setup openDNS in ddclient == <!--T:7-->


<!--T:8-->
'''#1''' Install ddclient and ddclient dispatcher for NetworkManager:
'''#1''' Install ddclient and ddclient dispatcher for NetworkManager:
  pamac build networkmanager-dispatcher-ddclient
  pamac build networkmanager-dispatcher-ddclient


<!--T:9-->
'''#2''' Create backup a ''ddclient.conf'' file:
'''#2''' Create backup a ''ddclient.conf'' file:
  sudo cp /etc/ddclient/ddclient.conf /etc/ddclient/ddclient.conf.skel
  sudo cp /etc/ddclient/ddclient.conf /etc/ddclient/ddclient.conf.skel


<!--T:10-->
'''#3''' Open ''ddclient.conf'' file in text editor.
'''#3''' Open ''ddclient.conf'' file in text editor.
  sudo nano /etc/ddclient/ddclient.conf
  sudo nano /etc/ddclient/ddclient.conf


<!--T:11-->
'''#4''' Delete current content, paste in:<br/>
'''#4''' Delete current content, paste in:<br/>
{{note| '''REMEMBER''' - replace values '''email_address''', '''password''' with correct values.}}
{{note| '''REMEMBER''' - replace values '''email_address''', '''password''' with correct values.}}


<!--T:12-->
----
----
<code>
<code>
Line 58: Line 67:
Save changes in a file.
Save changes in a file.


<!--T:13-->
'''#5''' Run command to enable NetworkManager-dispatcher.service:
'''#5''' Run command to enable NetworkManager-dispatcher.service:
  sudo systemctl enable NetworkManager-dispatcher.service
  sudo systemctl enable NetworkManager-dispatcher.service


<!--T:14-->
'''#6''' Logout and login.
'''#6''' Logout and login.


<!--T:15-->
'''#7''' Visit site: [https://dashboard.opendns.com/ openDNS Dashboard] to check sync status.
'''#7''' Visit site: [https://dashboard.opendns.com/ openDNS Dashboard] to check sync status.




=See Also=
=See Also= <!--T:16-->


<!--T:17-->
* [http://opendns.com openDNS Homepage]
* [http://opendns.com openDNS Homepage]
* [https://www.dnsomatic.com/ DNS-O-Matic]
* [https://www.dnsomatic.com/ DNS-O-Matic]