{"id":1114,"date":"2014-09-28T20:51:01","date_gmt":"2014-09-28T20:51:01","guid":{"rendered":"http:\/\/cyber-cottage.co.uk\/en\/?p=1088"},"modified":"2016-12-13T14:49:23","modified_gmt":"2016-12-13T14:49:23","slug":"installing-dyndns-update-script-on-centos","status":"publish","type":"post","link":"https:\/\/www.cyber-cottage.co.uk\/?p=1114","title":{"rendered":"Installing DynDns update script on Centos"},"content":{"rendered":"<p>The following is a simple run-through on installing the <a href=\"http:\/\/www.dyndns.org\" target=\"_blank\">dyndns<\/a> client for updating the ip address on your hosts.<\/p>\n<pre>cd \/usr\/src\r\n\r\nwget\u00a0 http:\/\/cdn.dyndns.com\/ddclient.tar.gz<\/pre>\n<pre>tar -xzvf ddclient.tar.gz\r\n\r\ncd ddclient-3.7.3\/\r\n\r\nmkdir \/etc\/ddclient\r\n\r\nmkdir \/var\/cache\/ddclient<\/pre>\n<pre>cp ddclient \/usr\/local\/sbin\r\n\r\ncp sample-etc_ddclient.conf \/etc\/ddclient\/ddclient.conf\r\n\r\ncp sample-etc_rc.d_init.d_ddclient \/etc\/rc.d\/init.d\/ddclient<\/pre>\n<pre>chkconfig --add ddclient<\/pre>\n<p>cd ..<\/p>\n<p>vi\u00a0 \/etc\/ddclient\/ddclient.conf<\/p>\n<p>add at the bottom of file<\/p>\n<pre>#\r\nuse=web\r\nlogin=USERNAME\r\npassword=PASSWORD\r\nserver=members.dyndns.org \u00a0\r\nprotocol=dyndns2\r\n# add your DNS name here as below\u00a0\r\nDNSNAME.dyndns.biz\r\n#<\/pre>\n<pre>\/etc\/init.d\/ddclient start<\/pre>\n<p>You will then need to check that your host address has updated on the dyndns site.<\/p>\n<p>If you get perl io ssl errors in the logfile then:<\/p>\n<pre class=\"p1\"><span class=\"s1\">yum install perl-IO-Socket-SSL<\/span><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The following is a simple run-through on installing the dyndns client for updating the ip address on your hosts. cd \/usr\/src wget\u00a0 http:\/\/cdn.dyndns.com\/ddclient.tar.gz tar -xzvf ddclient.tar.gz cd ddclient-3.7.3\/ mkdir \/etc\/ddclient mkdir \/var\/cache\/ddclient cp ddclient \/usr\/local\/sbin cp sample-etc_ddclient.conf \/etc\/ddclient\/ddclient.conf cp sample-etc_rc.d_init.d_ddclient \/etc\/rc.d\/init.d\/ddclient chkconfig &#8211;add ddclient cd .. vi\u00a0 \/etc\/ddclient\/ddclient.conf add at the bottom of file # [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":197,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"content-type":"","advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[88,89,11],"tags":[23,35,37,51,56,58,73,100,76],"class_list":["post-1114","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-astsupport","category-elxsupport","category-knowledge","tag-asterisk","tag-elastix","tag-ethernet","tag-linux","tag-nagios","tag-networking","tag-support","tag-technical","tag-voip"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.cyber-cottage.co.uk\/wp-content\/uploads\/2012\/11\/jigsaw3.jpg?fit=512%2C379&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p5daZy-hY","jetpack_sharing_enabled":true,"jetpack_likes_enabled":false,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.cyber-cottage.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cyber-cottage.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cyber-cottage.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cyber-cottage.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cyber-cottage.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1114"}],"version-history":[{"count":3,"href":"https:\/\/www.cyber-cottage.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1114\/revisions"}],"predecessor-version":[{"id":1764,"href":"https:\/\/www.cyber-cottage.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1114\/revisions\/1764"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cyber-cottage.co.uk\/index.php?rest_route=\/wp\/v2\/media\/197"}],"wp:attachment":[{"href":"https:\/\/www.cyber-cottage.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cyber-cottage.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cyber-cottage.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}