Cloudflare DDNS

Hi team,
seeking some further information on how to correctly set this up with cloudflare.
I have followed these steps outlined in the DDNS guide for RUTX50

however on cloudflare, I can not see the IP been updated although I have setup A record… if that is all i need ?

If the hostname is “ddns.mysite123.com”, the “domain” field would be “ddns@mysite123.com”

now when i added this on the RUTX50, it does not update and I cant see the routers IP address updated on cloudflare…

Am i missing something here ?
anyone can assist please ?

Hello,

Cloudflare covers this, here is a cite from their website: Most Internet service providers and some hosting providers dynamically update their customer’s IP addresses. If this situation applies to you, you need an automated solution to dynamically update your DNS records in Cloudflare. For more information on how to set it up and what are the options to do so you can refer to their website article: Dynamically update DNS records | Cloudflare DNS docs

BR,
Yes

thank you, i did have a look at that page dosent really explain much.

would like to know if anyone had tested DDNS with the Teltonika and Cloudflare…

hi,
I am also looking for a solution to do a ddns with a domain with cloudflare. The main domain domain.com works but I want to do it with a subdomain.
@BUFFBOY did you get the solution? or can someone help me?

Hi, unfortunately I am still in hopes of someone who had tried or use another DNS with Teltonika to guide us.

@BUFFBOY I solved the problem. What firmware version do you have?

7.08.3
please explain to me my friend.

This topic was automatically closed after 15 days. New replies are no longer allowed.

@BUFFBOY

Here is what works for me, follow these instructions

First configure your subdomain in cloudflare

  1. Type : A
  2. Name: dns
  3. IPv4 Adress: 1.2.3.4
  4. Proxy status : deseable
    And save your config.

And secondly you need to create a new DDNS on your router with the following configurations

  1. Enabled : on
  2. DNS service provider: cloudflare.comv4
  3. Domain: ddn@mysite123.com
  4. Audentification type: Email/API token
  5. Email: your cloudflare email adress
  6. API token: your account cloudflare API token
  7. Ip adress source: Public
    and save.

Then you wait a few minutes, your IP address 1.2.3.4 will be changed to the dynamic address of your router.

Best regards,

1 Like

wow thank you my friend. very much appreciated it.

However, i found it out im behind CGNAT so my ISP only handed out non public IP… therefore this method will not work … :frowning:

You can try to send a mail to the ISP and ask for CGNAT to be turned off.
Depending on which ISP you are on, they usually do this at the request of the user.

Hi BUFFBOY,

It looks like you’re close! A few things to check:

  1. Make sure your Cloudflare API token has ‘Zone:DNS’ permissions.
  2. Try using mysite123.com in the ‘domain’ field and ddns in the ‘hostname’ field,
  3. Check if the A record is unproxied (gray cloud) if you want the IP to update directly.

Hope this helps!"

big thank you to you all for this help. although i know its not going to work well(CGNAT) i am testing a few things tonight.
I have noticed the IP will not update even after the 5minutes unless i conduct a router reboot…I do see the IP has changed on my cellular ISP but not on cloudflare.

This is my settings:

HTTP secure mode On is ok ?

It seems like the issue may be related to the API token or permissions on Cloudflare. Ensure that you’ve created a Cloudflare API token with proper permissions to edit DNS records and have entered it correctly on your RUTX50 router. Also, verify that your A record is set to DNS only (instead of proxied) if you want the IP to be visible and updated.

If you’re looking for dynamic automation solutions, check out Bloxecutor, a site that specializes in efficient scripting and execution frameworks, which could inspire you to optimize automation in different areas.

hi,
may i know where are the CF API token permissions screen i need to change ? many thanks