Dynamic DNS Setup
Dynamic DNS Tutorial
1.Getting your external IP
Login your VNC Console. you can find VNC function in product manage page called as noVNC.
Login into your system, using username `root` and pre-set password to login. you can find the password in setup email, or you can reset password in the control panel.
Run “curl ifconfig.co”, you may need to install curl first.
Then you can connect to your VPS via SSH, using your external IP.
2.Using crontab and CloudFlare API for DDNS update.
Edit the sections to the screenshot below: (https://i.imgur.com/rfJWuqZ.png)
Leave CFID empty at this time.
For example, Your domain is example.com, and your preferred DDNS domain is ddns.example.com.
You should fill the blanks as the screenshot below: (https://i.imgur.com/BXNTpxT.png)
Just execute this script and it will fetch all your subdomains’ CFID. Pick your preferred DDNS’ CFID and fill it to the script. (https://i.imgur.com/hl4zBw6.png)
At last, add this script to crontab, you can automatically update your DDNS.
For crontab tutorial, see https://www.tutorialspoint.com/unix_commands/crontab.htm
Failed to curl?
ping 22.214.171.124, if reachable:
echo "nameserver 126.96.36.199">/etc/resolv.conf
and try curl ifconfig.co again.