weimil
CDCloudflare Developers
•Created by weimil on 7/22/2023 in #general-help
Using DDNS and adding CNAME
Hello everyone,
So I'm setting up a server in my house, I have a dynamic IP and so I'm using a DDNS, I've already use services like no-ip.com or dynu.com, but this time I bought a domain in Cloudflare and wanted to use Cloudflare's solution.
I'm using a super simple bash script and a crone job that updates my the IP in a in this case
update.example.com
. I've tested that it works. If I manualy set an IP 1.2.3.4
after ~1min it will change to myPublicIP
.
Problem and checks:
- If I ping update.example.com
I get 64 bytes from 104.21.69.88 (104.21.69.88)
an IP from Cloudflare but not myPublicIP
.
- I add a CNAME myApp
to that points to update.example.com
.
- I ping myApp.example.com
I get 64 bytes from 172.67.206.191 (172.67.206.191)
also an IP from Cloudflare.4 replies