Cloudflare DDNS w/ Docker - Keep your public IP updated automatically

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ม.ค. 2025

ความคิดเห็น • 56

  • @metalmanexetreme
    @metalmanexetreme ปีที่แล้ว +5

    I’m definitely not knowledgeable enough to be messing with any of this yet, but I’m subbing to you so that when I do become proficient enough to mess with it I can come back and follow along

  • @DanielTekmyster
    @DanielTekmyster ปีที่แล้ว +5

    I am using cloudflare as my dyn dns also, love the control. Also using nginx reverse proxy

  • @MichelRibeiro-o2o
    @MichelRibeiro-o2o ปีที่แล้ว +2

    I would like to congratulate you on your excellent work, I really like your videos.
    I would like to ask if possible if you could record a video explaining how to run nginx-proxy-manager together with traefik inside portainer, honestly this is an extreme headache for me and I really need to learn, I believe this is the question of several followers. Thanks in advance.

  • @KarlMeyer
    @KarlMeyer ปีที่แล้ว +6

    I still use DuckDNS. The docker container used to set it up is brain-dead simple.

    • @IrishKingzz
      @IrishKingzz ปีที่แล้ว +2

      DuckDNS is the best. I tried to set up a reverse proxy but I'm to stupid to get it working

    • @krzysi3k-yt
      @krzysi3k-yt ปีที่แล้ว

      I'm also using DucksDNS, python script scheduled in ci/cd pipelines, works flawlessly

    • @darkzero4608
      @darkzero4608 6 หลายเดือนก่อน

      Duck DNS won't work if ISP uses CG-NAT Network behind.

  • @jmugoose30
    @jmugoose30 ปีที่แล้ว +4

    Why did you move away from tunnels? Seems you wouldn’t have to worry about up changes and would work with failover up changes.

    • @RaidOwl
      @RaidOwl  ปีที่แล้ว +3

      Tunnels are bit more of a black box than standard https traffic through their proxy. There are pros and cons to each, but since I'm not CGNAT'd I stick with their proxy DNS.

  • @intertan
    @intertan ปีที่แล้ว +1

    Well, there is my Sunday project

  • @neilcoelho
    @neilcoelho 10 หลายเดือนก่อน +1

    How to host a WordPress website using this? I'm not really a programmer, but want to selfhost my website.

  • @fahmi8999
    @fahmi8999 ปีที่แล้ว +1

    I have question, I'm using dynamic IP and Cloudflare, i have configured all done. since my IP is dynamic, how to add subdomain? using A record? CNAME?

  • @ImARichard
    @ImARichard ปีที่แล้ว +5

    Just out of curiosity, is there a benefit to using the loadbalancer in cloudflare over just using standard DDNS updating of A records and using the Unifi WAN failover? Or just wanted to play around with the Cloudflare loadbalancing?
    Ive yet to be able to test it, but in theory if primary WAN goes down and you fail over to secondary long enough the DDNS container will just automatically fetch your secondary WAN IP and update your A records according.

    • @RaidOwl
      @RaidOwl  ปีที่แล้ว +4

      Yeah that’s def another way to do it. But I’ve wanted to have an external LB for awhile and couldn’t pass it up for $5 haha

    • @ImARichard
      @ImARichard ปีที่แล้ว +4

      @@RaidOwl fair enough, part of the fun of homelabbing is playing around with stuff just because you can anyway!

  • @Dinez
    @Dinez ปีที่แล้ว

    Thanks for sharing all the knowledge. Great Video.

  • @nimblor
    @nimblor ปีที่แล้ว +2

    How is this different from just using the cloudflare-DDNS docker?

    • @RaidOwl
      @RaidOwl  ปีที่แล้ว +1

      Probably no different. I assume both use ddclient and the Cloudflare api.

  • @NightHawkATL
    @NightHawkATL ปีที่แล้ว

    Great option for me once I get my static ip on my primary so if it goes out, I will be able to update from my secondary ISP if the primary fails.

  • @mr.boniato6402
    @mr.boniato6402 22 วันที่ผ่านมา

    Does this work if you're behind nat? My ISP modem does not have bridge mode option.

  • @smallqwaro
    @smallqwaro ปีที่แล้ว +1

    if there isn't anything that bypasses cloudflare from the internet then I think the arrows should just go from the internet to cloudflare to your modems.

  • @borrachomejor6767
    @borrachomejor6767 9 หลายเดือนก่อน

    Did you update your image to only support `arm` based processors recently? I originally set everything up using your image on an `amd64` machine but after making some changes and trying to restart the container I run into the below error. I only see a `:latest` tag on Dockerhub. I switched back to the `oznu/cloudflare-ddns` image and it seems to be running fine.
    `The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v2) and no specific platform was requested`

  • @johnwauters584
    @johnwauters584 3 หลายเดือนก่อน

    anyone know how to add a host to this after the container is created?

  • @Zeluph
    @Zeluph ปีที่แล้ว

    Just a heads up, looks like the public IPs 2 seconds into the video weren't blurred!

    • @RaidOwl
      @RaidOwl  ปีที่แล้ว +1

      They’re dummy ones ;)

  • @DapperDuff
    @DapperDuff ปีที่แล้ว +1

    What software are you using to diagram your setup?

    • @RaidOwl
      @RaidOwl  ปีที่แล้ว +2

      draw.io

  • @tonyt852
    @tonyt852 7 หลายเดือนก่อน

    Thank you for sharing!

  • @takeover4726
    @takeover4726 10 หลายเดือนก่อน +2

    all i get is error reading config file

    • @gordonramsay3512
      @gordonramsay3512 หลายเดือนก่อน

      Had the same problem, the config-example has broken json syntax. Use an online json checker on it, fix the error then paste it into notepad. After that fill in your subdomain names, api key and zone id then try restarting the container. Also worth checking if you provided the correct path in the docker-compose script.

  • @Lunolux
    @Lunolux ปีที่แล้ว

    thx for the video,
    i'm in Europe and never hear or see an ip provide by ISP change O_o is that a think where you live thant your ip change during the year O_o that insane

  • @weaveman3
    @weaveman3 ปีที่แล้ว

    I'm getting an "error reading config.json" message, and I have no idea why. I'm sure it's something simple and stupid that I've done (it always is), but I can't figure it out.

    • @RaidOwl
      @RaidOwl  ปีที่แล้ว

      Feel free to join the discord and we’ll help you out.

    • @longxuong803
      @longxuong803 ปีที่แล้ว

      I got same error

    • @Sapious1
      @Sapious1 11 หลายเดือนก่อน

      I've been researching this for 2 days, I am also getting the json file error... no answers yet.

    • @RaidOwl
      @RaidOwl  11 หลายเดือนก่อน

      are you including a load balancer section? I think the way it's written you at least need a blank one@@Sapious1

    • @Sapious1
      @Sapious1 11 หลายเดือนก่อน

      @@RaidOwl thanks for the reply, it’s funny you mention that. I was wondering if I should leave it in, but I wasn’t sure how to comment it out because I’m not using a load balancer. Think I just need “” for blank?

  • @richcreedy4118
    @richcreedy4118 ปีที่แล้ว +2

    i'm using a cloudflare tunnel

  • @fabiocanepa
    @fabiocanepa ปีที่แล้ว +1

    Is the load_balancer mandatory ? Because I have only one IP and for this reason I didn't create the load_balancer section in the conf file but when I execute the script I see this error:
    Traceback (most recent call last):
    File "/home/pi/docker/cloudflare-ddns/cloudflare-ddns.py", line 316, in
    updateIPs(getIPs())
    File "/home/pi/docker/cloudflare-ddns/cloudflare-ddns.py", line 248, in updateIPs
    updateLoadBalancer(ip)
    File "/home/pi/docker/cloudflare-ddns/cloudflare-ddns.py", line 191, in updateLoadBalancer
    for option in config["load_balancer"]:
    ~~~~~~^^^^^^^^^^^^^^^^^
    KeyError: 'load_balancer'

  • @TMoneyJones
    @TMoneyJones ปีที่แล้ว

    10/10 on information. 3/10 on entertainment. 😢 You better not be falling off. I want to say I know someone famous and your my best shot.

    • @RaidOwl
      @RaidOwl  ปีที่แล้ว +8

      lol boy is it hard to make a Cloudflare DDNS video entertaining I tellyawhat

  • @SpaceDorg
    @SpaceDorg ปีที่แล้ว

    Great

  • @Pongo8844
    @Pongo8844 6 หลายเดือนก่อน +1

    Too confusing for a tutorial

    • @RaidOwl
      @RaidOwl  6 หลายเดือนก่อน

      Nah

  • @JamesTenniswood
    @JamesTenniswood ปีที่แล้ว +12

    Or just use cloudflare tunnels. End of story