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

Sdílet
Vložit
  • čas přidán 6. 09. 2024

Komentáře • 54

  • @metalmanexetreme
    @metalmanexetreme Před 8 měsíci +4

    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 Před 8 měsíci +3

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

  • @KarlMeyer
    @KarlMeyer Před 8 měsíci +6

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

    • @IrishKingzz
      @IrishKingzz Před 8 měsíci +2

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

    • @starawojtka
      @starawojtka Před 8 měsíci

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

    • @darkzero4608
      @darkzero4608 Před 2 měsíci

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

  • @jmugoose30
    @jmugoose30 Před 8 měsíci +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  Před 8 měsíci +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.

  • @nimblor
    @nimblor Před 8 měsíci +3

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

    • @RaidOwl
      @RaidOwl  Před 8 měsíci +1

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

  • @ImARichard
    @ImARichard Před 8 měsíci +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  Před 8 měsíci +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 Před 8 měsíci +4

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

  • @neilcoelho
    @neilcoelho Před 6 měsíci +1

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

  • @user-mw5pm9yx6l
    @user-mw5pm9yx6l Před 7 měsíci +1

    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.

  • @smallqwaro
    @smallqwaro Před 8 měsíci +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.

  • @intertan
    @intertan Před 8 měsíci +1

    Well, there is my Sunday project

  • @NightHawkATL
    @NightHawkATL Před 8 měsíci

    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.

  • @Dinez
    @Dinez Před 8 měsíci

    Thanks for sharing all the knowledge. Great Video.

  • @tonyt852
    @tonyt852 Před 3 měsíci

    Thank you for sharing!

  • @fahmi8999
    @fahmi8999 Před 8 měsíci

    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?

  • @richcreedy4118
    @richcreedy4118 Před 8 měsíci +2

    i'm using a cloudflare tunnel

  • @Zeluph
    @Zeluph Před 8 měsíci

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

    • @RaidOwl
      @RaidOwl  Před 8 měsíci +1

      They’re dummy ones ;)

  • @borrachomejor6767
    @borrachomejor6767 Před 5 měsíci

    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`

  • @DapperDuff
    @DapperDuff Před 8 měsíci +1

    What software are you using to diagram your setup?

  • @Lunolux
    @Lunolux Před 8 měsíci

    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

  • @takeover4726
    @takeover4726 Před 6 měsíci

    all i get is error reading config file

  • @SpaceDorg
    @SpaceDorg Před 8 měsíci

    Great

  • @weaveman3
    @weaveman3 Před 8 měsíci

    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  Před 8 měsíci

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

    • @longxuong803
      @longxuong803 Před 7 měsíci

      I got same error

    • @Sapious1
      @Sapious1 Před 7 měsíci

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

    • @RaidOwl
      @RaidOwl  Před 7 měsíci

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

    • @Sapious1
      @Sapious1 Před 7 měsíci

      @@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?

  • @TMoneyJones
    @TMoneyJones Před 8 měsíci

    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  Před 8 měsíci +7

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

  • @JamesTenniswood
    @JamesTenniswood Před 8 měsíci +11

    Or just use cloudflare tunnels. End of story

  • @Pongo8844
    @Pongo8844 Před měsícem

    Too confusing for a tutorial

  • @fabiocanepa
    @fabiocanepa Před 8 měsíci

    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'