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

Port forwarding
imported>FadeMind
m (remove fix command)
imported>FadeMind
(Port forwarding)
Line 4: Line 4:
== Setup openDNS in system settings ==
== Setup openDNS in system settings ==


Create a file:
Set DNS addresses in resolv.conf file:
  sudo gedit /etc/resolv.conf.head
  sudo gedit /etc/resolv.conf.head


Line 14: Line 14:
<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>}}
=== Port forwarding ===
The ddclient daemon need opened incoming connections for ports '''53''', '''443''' and '''80'''. If you using a firewall software and router device You need in the settings to allow connections to these ports, otherwise ddclient daemon can't working propertly and sending IP to openDNS servers failed with errors (check current status ddclient daemon by command: <code>sudo systemctl status ddclient -l</code>):
'''<code> ddclient[8999]: WARNING:  cannot connect to myip.dnsomatic.com:80 socket: IO::Socket::INET: Bad hostname 'myip.dnsomatic.com' </code>'''


== Setup openDNS in ddclient ==
== Setup openDNS in ddclient ==
Anonymous user