KNOWNHOST WIKI

User Tools

Site Tools


developmental:dynamic-dns-and-cpanel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
developmental:dynamic-dns-and-cpanel [2018/12/11 13:02]
Daniel P.
developmental:dynamic-dns-and-cpanel [2019/10/11 12:22] (current)
Karson N.
Line 21: Line 21:
 When you first visit www.no-ip.com,​ you will see a prompt to enter your desired hostname at the bottom of the page: When you first visit www.no-ip.com,​ you will see a prompt to enter your desired hostname at the bottom of the page:
  
-{{developmental:​dyndns_noip.png?​direct&​1000|}}+{{developmental:​dyndns_noip.png?​nolink&​1000|}}
  
 There is a drop-down window so that you can select what TLD you want: There is a drop-down window so that you can select what TLD you want:
  
-{{developmental:​tooltip_022.png?​direct&300|}}+{{developmental:​tooltip_022.png?​nolink&300|}}
  
  
 Enter your desired hostname and then click "Sign Up". You will then need to complete the sign-up process by entering an email account, a password, and confirming the hostname you'd like to use: Enter your desired hostname and then click "Sign Up". You will then need to complete the sign-up process by entering an email account, a password, and confirming the hostname you'd like to use:
  
-{{developmental:​dyndns_signup_1.png?​direct&​1000|}}+{{developmental:​dyndns_signup_1.png?​nolink&​1000|}}
  
  
Line 38: Line 38:
 Create the account, and then you will be sent an account confirmation email: Create the account, and then you will be sent an account confirmation email:
  
-{{developmental:​dyndns_email_confirmation.png?​direct&​1000|}}+{{developmental:​dyndns_email_confirmation.png?​nolink&​1000|}}
  
 Click to confirm the account. You will be redirected to a new window displaying the message "Your account is now active!"​ and the following: Click to confirm the account. You will be redirected to a new window displaying the message "Your account is now active!"​ and the following:
  
-{{developmental:​dyndns_howto.png?​direct&400|}}+{{developmental:​dyndns_howto.png?​nolink&800|}}
  
 Since you are not self-hosting services from your computer, you should not need to set up any port forwarding via your router. You will need to download the Dynamic Update Client and then configure CSF/LFD firewall on your server, though. Let's move on.  Since you are not self-hosting services from your computer, you should not need to set up any port forwarding via your router. You will need to download the Dynamic Update Client and then configure CSF/LFD firewall on your server, though. Let's move on. 
Line 63: Line 63:
 Here is the what this installation looks like on mine: Here is the what this installation looks like on mine:
  
-{{developmental:​no_ip_installation_ssh_complete.png?​direct&800|}}+{{developmental:​no_ip_installation_ssh_complete.png?​nolink&800|}}
  
 Notice that this installation is not yet complete, though. ​ The last line is a prompt for your account information. You will enter your email, your password, and your hostname as prompted to complete the installation. ​ Notice that this installation is not yet complete, though. ​ The last line is a prompt for your account information. You will enter your email, your password, and your hostname as prompted to complete the installation. ​
  
-{{developmental:​noip_installation_ssh_finalsteps_.png?​direct&800|}}+{{developmental:​noip_installation_ssh_finalsteps_.png?​nolink&800|}}
  
 The installation of the Dynamic Update Client should now be complete. At this point, you should be able to dig the hostname you created and see an A record for it like so: The installation of the Dynamic Update Client should now be complete. At this point, you should be able to dig the hostname you created and see an A record for it like so:
Line 83: Line 83:
   nano /​etc/​csf/​csf.dyndns   nano /​etc/​csf/​csf.dyndns
  
-{{developmental:​csf.dyndns_.png?​direct&800|}}+{{developmental:​csf.dyndns_.png?​nolink&800|}}
  
 Once you have made the desired changes to the file, use Ctrl X to exit. You may be prompted to confirm your changes and the file name.  Once you have made the desired changes to the file, use Ctrl X to exit. You may be prompted to confirm your changes and the file name. 
Line 93: Line 93:
 You can use Ctrl W to search for the settings that need to be changed since this file is quite large compared to the last. Pictured below is the section of the file that we will be editing. ​ You can use Ctrl W to search for the settings that need to be changed since this file is quite large compared to the last. Pictured below is the section of the file that we will be editing. ​
  
-{{developmental:​before_edits.png?​direct&800|}}+{{developmental:​before_edits.png?​nolink&800|}}
  
 We will change "​DYNDNS_IGNORE = 0" to  "​DYNDNS_IGNORE = 1" ​ and then change ​ "​DYNDNS = 0" to whatever value to choose. I will change mine to 300: We will change "​DYNDNS_IGNORE = 0" to  "​DYNDNS_IGNORE = 1" ​ and then change ​ "​DYNDNS = 0" to whatever value to choose. I will change mine to 300:
  
-{{developmental:​after_edits.png?​direct&800|}}+{{developmental:​after_edits.png?​nolink&800|}}
  
 Now, we just need to restart the firewall: Now, we just need to restart the firewall:
Line 103: Line 103:
   csf -ra   csf -ra
  
-{{developmental:​firewall_restart.png?​direct&800|}}+{{developmental:​firewall_restart.png?​nolink&800|}}
  
 This concludes the firewall configuration portion required to set up DynDNS. ​ This concludes the firewall configuration portion required to set up DynDNS. ​
Line 121: Line 121:
  ​I'​m watching the LFD firewall logs while I do this to see if my failed attempts are being ignored because we configured the firewall to //ignore// the hostname (or the IP associated with the hostname, technically). Here is what I saw when tailing my firewall log, which proves that we were successful in configuring DynDNS:  ​I'​m watching the LFD firewall logs while I do this to see if my failed attempts are being ignored because we configured the firewall to //ignore// the hostname (or the IP associated with the hostname, technically). Here is what I saw when tailing my firewall log, which proves that we were successful in configuring DynDNS:
  
-{{developmental:​testing_dyndns.png?​direct&800|}}+{{developmental:​testing_dyndns.png?​nolink&800|}}
  
 Notice that it states that my failed attempts are being ignored. Thus, DynDNS was registered, installed, and configured successfully on my computer, and CSF/LFD was configured correctly to ignore any attempts via my DynDNS hostname. ​ Notice that it states that my failed attempts are being ignored. Thus, DynDNS was registered, installed, and configured successfully on my computer, and CSF/LFD was configured correctly to ignore any attempts via my DynDNS hostname. ​
  
  
developmental/dynamic-dns-and-cpanel.1544533377.txt.gz · Last modified: 2018/12/11 13:02 by Daniel P.