Differences
This shows you the differences between two versions of the page.
linux_wiki:ddclient [2016/03/18 23:20] billdozor [ddclient] |
linux_wiki:ddclient [2019/05/25 23:50] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== ddclient ====== | ||
- | **General Information** | ||
- | |||
- | Using ddclient to update your dynamic IP for OpenDNS. | ||
- | |||
- | **Checklist** | ||
- | * Distro(s): Any | ||
- | |||
- | ---- | ||
- | |||
- | ===== Prep OpenDNS Account ===== | ||
- | |||
- | - Login to OpenDNS (https:// | ||
- | - Click on the Settings tab. | ||
- | - Select the desired network in the drop down box. | ||
- | - Click on Advanced Settings on the left. | ||
- | - Ensure that " | ||
- | |||
- | ---- | ||
- | |||
- | ===== ddclient setup ===== | ||
- | |||
- | Download, install, configure ddclient. | ||
- | |||
- | ==== Download ==== | ||
- | |||
- | * Website: http:// | ||
- | * Wget 3.8.3 (current as of 08/04/2015) | ||
- | * <code bash> | ||
- | wget http:// | ||
- | </ | ||
- | |||
- | ==== Install ==== | ||
- | |||
- | Install perl ssl library | ||
- | <code bash> | ||
- | yum install perl-IO-Socket-SSL | ||
- | </ | ||
- | |||
- | Extract and un-archive | ||
- | <code bash> | ||
- | tar -jxvf ddclient-3.8.3.tar.bz2 | ||
- | </ | ||
- | * Note: if you receive an error while extracting, you might be on a minimal install and need to install bzip2 (yum install bzip2) | ||
- | |||
- | Create required directories | ||
- | <code bash> | ||
- | mkdir / | ||
- | mkdir / | ||
- | </ | ||
- | |||
- | Copy files to system locations | ||
- | <code bash> | ||
- | cp sample-etc_ddclient.conf / | ||
- | cp ddclient-3.8.3/ | ||
- | cp ddclient-3.8.3/ | ||
- | </ | ||
- | |||
- | ==== Configure ==== | ||
- | |||
- | Change perms, edit config file | ||
- | <code bash> | ||
- | chown root:root / | ||
- | chmod 600 / | ||
- | vi / | ||
- | |||
- | ## OpenDNS.com account-config | ||
- | use=web, web=myip.dnsomatic.com | ||
- | ssl=yes | ||
- | server=updates.opendns.com | ||
- | protocol=dyndns2 | ||
- | login=email@domain.com | ||
- | password=mypasshere | ||
- | MyNetwork | ||
- | </ | ||
- | * Replace login and password with OpenDNS login credentials. | ||
- | * Replace " | ||
- | |||
- | Test the config | ||
- | <code bash> | ||
- | ddclient -daemon=0 -debug -noquiet | ||
- | </ | ||
- | * Should see debug output, followed by " | ||
- | |||
- | Enable/ | ||
- | <code bash> | ||
- | chkconfig --add ddclient | ||
- | service ddclient start | ||
- | </ | ||
- | |||
- | ---- |