MEWBIES@: Facebook Twitter G+ YouTube DeviantArt Forum Wall
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
██ ██
█▌ - DYNDNS DCCLIENT FOR WINDOWS OR LINUX - █▌
█▌ █▌
█ ▐▌
█ HOW TO SETUP A FREE DOMAIN TO POINT TO YOUR OWN BOX: ▐▌
█ ▐▌
█ ___________..___________ ▐▌
█ ▐▌
█ FOR FREE DNS SERVERS CLICK HERE. ▐▌
█ ▐▌
█ UPDATE APRIL 2013: Very sad to say that DynDNS isn't offer the 'free' ▐▌
█ (only 14 days now) service of domain names any longer. Furthermore many ▐▌
█ people, such as myself, simply found that it had 'expired' after years of ▐▌
█ using during April '13. When users enquired with DynDNS they blamed the ▐▌
█ user for not updating the domain or the e-mail went to spam, then closing ▐▌
█ the topic to stop the 'me too'. I believe this was done so that they could ▐▌
█ purge free users to sell/push their service to them or possibly hacked one ▐▌
█ user stated. I know my domains were updated until that fateful day, the ▐▌
█ logs prove it, as do other users that posted. So note that they do NOT ▐▌
█ have a free service any longer. I'll leave this tutorial for those using ▐▌
█ the paid service and need help installing their update client which can be ▐▌
█ a b*tch. ▐▌
█ All good things must come to an end... ▐▌
█ ▐▌
█ ___________..___________ ▐▌
█ ▐▌
█ FREE DOMAIN NAME: ▐▌
█ ````````````` ▐▌
█ Sign up with dyndns.org HERE. ▐▌
█ Choose from a list of free domains HERE. On free accounts you can have up ▐▌
█ to 5. I use 1 for my Window's box and another for my nix' box. ▐▌
█ ▐▌
█ INSTALL DCC CLIENT UPDATER: ▐▌
█ ``````````````````````````` ▐▌
█ This will: ▐▌
█ a. Automatically update your account every x days so that your free domain ▐▌
█ doesn't get removed (if you don't have this, and don't login manually it ▐▌
█ will remove your free domain after 30 days). ▐▌
█ b. If you have a dynamic IP; whenever it changes it will send the new IP ▐▌
█ to link to your domain name automatically. ▐▌
█ ▐▌
█ WINDOWS: ▐▌
█ ```````` ▐▌
█ Download the client HERE. Install, put in your information when prompted, ▐▌
█ done :). It will now run in your system tray and do its thing. ▐▌
█ To test this locally I had to edit my 'hosts' file: ▐▌
█ C:\WINDOWS\system32\drivers\etc\hosts (the name of this file is hosts, no ▐▌
█ extension) ▐▌
█ Right click on file, select Properties, under Attributes remove Read-only ▐▌
█ if checked/OK. ▐▌
█ Open file with WordPad, Mine had this: ▐▌
█ 127.0.0.1 localhost ▐▌
█ I changed it to: ▐▌
█ 127.0.0.1 localhost ▐▌
█ 192.168.1.2 my.freedomain.com ▐▌
█ ▐▌
█ (192.168.1.2 is my internal IP on my network) ▐▌
█ Close that file selecting the red X, select OK; not file / save ▐▌
█ Right click on file, select Properties, under Attributes select ▐▌
█ 'Read-only' /OK / even if it wasn't set earlier (security reasons). ▐▌
█ ▐▌
█ Windows 8 users: If you are using the built-in 'Windows Defender' ▐▌
█ antivirus then you must: ▐▌
█ 1. Exclude the 'hosts' file from being monitored by Windows Defender or it ▐▌
█ will remove any changes you make to this file: ▐▌
█ Windows key > type in Windows Defender > Enter > Settings tab > Exclude ▐▌
█ Files and locations > Browse button > navigate to file > OK > Add > Save ▐▌
█ Changes ▐▌
█ 2. Launch your text editor as Admin to make changes to the hosts file. ▐▌
█ Example: Windows key > type in Wordpad > right click Wordpad icon > Run ▐▌
█ as administrator > file type box select 'All Files (*.*)' ▐▌
█ ▐▌
█ Now test it out if you have a web server or ftp server setup: ▐▌
█ http://yourfreedomain.com or ftp://name:pass@yourfreedomain.com:port ▐▌
█ *Note if you don't want the URL to revert back to show the IP address for ▐▌
█ the user you'll need to set that in your web server, for example apache2 ▐▌
█ ▐▌
█ LINUX: ▐▌
█ `````` ▐▌
█ Big thanks to CryHavok at Dyndns for showing me how to do this correctly. ▐▌
█ su ▐▌
█ aptitude install ddclient ▐▌
█ ▐▌
█ On their site you can generate a basic ddclient.conf HERE and see some ▐▌
█ templates HERE. ▐▌
█ ▐▌
█ pico /etc/ddclient.conf ▐▌
█ Mine had this: ▐▌
█ # ▐▌
█ # Configuration file for ddclient generated by debconf ▐▌
█ # ▐▌
█ # ▐▌
█ # ▐▌
█ # /etc/ddclient.conf ▐▌
█ # ▐▌
█ ▐▌
█ # ▐▌
█ pid=/var/run/ddclient.pid ▐▌
█ # ▐▌
█ protocol=dyndns2 ▐▌
█ # ▐▌
█ use=if, if=web ▐▌
█ # ▐▌
█ server=members.dyndns.org ▐▌
█ # ▐▌
█ login=myname ▐▌
█ # ▐▌
█ password='mypass' ▐▌
█ # ▐▌
█ myurl.com,myurl.org ▐▌
█ ▐▌
█ I changed it to (of course change email, login, password to be yours and ▐▌
█ at the bottom your free dyndns domains separated by a comma if you have ▐▌
█ more than one): ▐▌
█ # Configuration file for ddclient generated by debconf ▐▌
█ # ▐▌
█ # /etc/ddclient.conf ▐▌
█ ▐▌
█ daemon=600 ▐▌
█ syslog=yes ▐▌
█ max-interval=25d ▐▌
█ mail-failure=my-email@mine.com ▐▌
█ pid=/var/run/ddclient.pid ▐▌
█ ssl=yes ▐▌
█ use=web, web=checkip.dyndns.com/, web-skip='IP Address' ▐▌
█ login=MyDyndnsLoginName ▐▌
█ password=MyDyndnsPassword ▐▌
█ protocol=dyndns2 ▐▌
█ server=members.dyndns.org ▐▌
█ my.freedomain1.com,my.freedomain2.com ▐▌
█ ▐▌
█ pico /etc/default/ddclient ▐▌
█ Had this: ▐▌
█ daemon_interval="300" ▐▌
█ ▐▌
█ I changed, so it matched my ddclient.conf, to: ▐▌
█ daemon_interval="600" ▐▌
█ ▐▌
█ reboot ▐▌
█ ▐▌
█ Start ddclient: ▐▌
█ /etc/init.d/ddclient start ▐▌
█ Reply will be: Starting Dynamic DNS service update utility: ddclient. ▐▌
█ ▐▌
█ exit ▐▌
█ ▐▌
█ Check if running: ▐▌
█ /etc/init.d/ddclient status ▐▌
█ replied: ▐▌
█ Reply will be: Status of Dynamic DNS service update utility: ddclient is ▐▌
█ running ▐▌
█ Restart would be: ▐▌
█ /etc/init.d/ddclient restart ▐▌
█ Stop... bet you guessed already :) : ▐▌
█ /etc/init.d/ddclient stop ▐▌
█ ▐▌
█ Under the cmd 'ps x' it will show as or similar: ▐▌
█ ps x: 7119 pts/0 S 0:00 ddclient - sleeping for 420 seconds ▐▌
█ ▐▌
█ Go HERE to check if your domain has now been updated (under Account ▐▌
█ Settings/My Host). ▐▌
█ As per the settings that we did in the ddclient.conf it will update every ▐▌
█ 25 days. If your nix has a dynamic IP you'll need to have different ▐▌
█ settings in your conf file. See their templates and they also have a very ▐▌
█ helpful Forum HERE. ▐▌
█ ▐▌
█ Make a note of the date and check back on their site in 25 days to see if ▐▌
█ all is good :) ▐▌
█ *Please don't put a shorter number of days as this is considered an abuse ▐▌
█ if not needed; this is a free service for all to enjoy. ▐▌
█ ▐▌
█ Now test it out if you have a web server or ftp server setup: ▐▌
█ http://yourfreedomain.com or ftp://name:pass@yourfreedomain.com:port ▐▌
█ *Note if you don't want URL to revert back to show the IP address for the ▐▌
█ user you'll need to set that in web server, for example apache2 ▐▌
█ ▐▌
█ //---------------------------------------------------------------------- ▐▌
█ ▐▌
█ If you find mistakes, have suggestions, and or questions please post at ▐▌
█ mewbies forum HERE - thank you. ▐▌
█ ▐▌
█ Last update on 02 Jul '13 ▐▌
█ ▐▌
█▌ █▌
█▌ - mewbies.com - █▌
█▌ █▌
██▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄██