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

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

From Manjaro
imported>FadeMind
(initial release)
 
imported>Handy
Line 30: Line 30:


'''#5''' Delete current content, paste in:<br/>
'''#5''' Delete current content, paste in:<br/>
{{note| '''REMEMBER''' - replace values '''email_address''', '''password''' and '''NetworkName''' with corrent values.}}
{{note| '''REMEMBER''' - replace values '''email_address''', '''password''' and '''NetworkName''' with correct values.}}


----
----

Revision as of 11:22, 3 June 2014

Open-dns-logo.png


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


Note
If Your ISP provide IPv6 support, add these DNS IPv6 addresses entries in next lines in the /etc/resolv.conf.head file:

nameserver 2620:0:ccc::2

nameserver 2620:0:ccd::2

Setup openDNS in ddclient

#1 Install ddclient:

sudo pacman -S ddclient

#2 Fix ddclient.service file:

wget -O ddclient.service "https://copy.com/XISYqc3MH6xs/ddclient.service?download=1" && sudo mv ddclient.service /usr/lib/systemd/system/ddclient.service

#3 Create backup a ddclient.conf file:

sudo cp /etc/ddclient/ddclient.conf /etc/ddclient/ddclient.conf.bak

#4 Open ddclient.conf file in text editor.

sudo gedit /etc/ddclient/ddclient.conf

#5 Delete current content, paste in:

Note
REMEMBER - replace values email_address, password and NetworkName with correct values.

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.

#6 Run command to enable and start ddclient service daemon:

sudo systemctl enable ddclient && sudo systemctl start ddclient && sudo systemctl status ddclient

#7 Visit site: openDNS Dashboard to check sync status.

Support

Official forum topic: [1]

See Also

openDNS Homepage

Wikipedia Article

Set DNS and-or Nameservers

Arch Wiki: resolv.conf

Cookies help us deliver our services. By using our services, you agree to our use of cookies.