Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Which ip do I use for A type DNS record with Cloudflare?

Featured Replies

Hey guys, let me know if there is a better forum for this.

 

I am trying setup DNS with cloudflare, but it tells me that the ipv4 that I use to access unraid and all other dockers cant be proxied. When I continue without proxy and set everything up with Nginx, the web page says that DNS points to local or disallowed IP.

 

Any ideas?

Solved by MAM59

  • Community Expert

you need to use the "public" ip that is assigned to your router by your provider.

This is a dynamic one, therefor you need the ddns services of cloudflare.

You could also sign up your box on UNRAID's net, they will also give you a public-ip-to-name mapping for free.

 

Ips not allowed are the ranges 192.168.*, 10.*, 172.16.* (to 172.31.*) and some others (less frequently used)

 

Beware that your address changes more or less frequently. You need to have a means to automatically update the DNS records in case of a change...

 

  • Author

How would I go about setting up Cloudflare DDNS?

  • Author
19 minutes ago, MAM59 said:

Ips not allowed are the ranges 192.168.*, 10.*, 172.16.* (to 172.31.*) and some others (less frequently used)

 

My router ip is 192.168, does this mean I can't use DNS?

  • Community Expert
No, this is the internal address. There must be a diiferent one for the router too. Or check with external webpages.
  • Author

Does 24.221 sound right? I got that to proxy through cloudflare, but the webpage says gives a 522 error (connection timeout)

  • Community Expert
  • Solution
13 minutes ago, CopesaCola said:

Does 24.221 sound right? I got that to proxy through cloudflare,

Dunno, could be a cloudflare address assigned to your tunnel (also: NOT USABLE)

 

try https://whatismyipaddress.com/

from any machine in your LAN, it will show you the valid address to use

 

I would recommend running cloudflareDDNS (i use the one from selfhosters).  Chances are your Internet provider will change you WAN IP and this will keep it up to date.  Here another great video from Spaceinvader one that I used to set it up.  You can skip past the DuckDNS portion of the video.

  • Author
6 hours ago, Gragorg said:

I would recommend running cloudflareDDNS (i use the one from selfhosters).  Chances are your Internet provider will change you WAN IP and this will keep it up to date.  Here another great video from Spaceinvader one that I used to set it up.  You can skip past the DuckDNS portion of the video.

Set this up and the ip is auto pulled by cloudflare, but in the video space invader's IP for his main domain is different from the IP for his 'dynamic' subdomain whereas both of my IPs are the same

 

8 hours ago, MAM59 said:

try https://whatismyipaddress.com/

from any machine in your LAN, it will show you the valid address to use

 

The IP from this site is the same that cloudflare DDNS picked up, but the webpage keeps timing out

  • Community Expert
7 hours ago, CopesaCola said:

but the webpage keeps timing out

Hmm ?!?!?

Strange... it should show you your IPV4 address immediatly and an optional V6 address a few seconds later.

Are you sure, you have a "real" internet connection and not only a "dslite" fake one??? Ask your provider for details.

 

(Info: "Dslite" means, your provider assignes you a non-usable, internal, address but supplies a proxy server within its lan that does the outside connections. With this setup, your computers will never be reachable from the internet and cloudflare cannot work at all)

 

  • Author

So it seems that at some point during my troubleshooting I reset the port forwarding rules in my router... after resetting those rules with the right ports everything works perfectly. The WAN address from https://whatismyipaddress.com/ would've been all I needed if I hadn't overlooked that.

 

Thank you for all your help!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.