Giter Site home page Giter Site logo

DNS-omatic about freenas-iocage-nextcloud HOT 6 OPEN

danb35 avatar danb35 commented on July 17, 2024
DNS-omatic

from freenas-iocage-nextcloud.

Comments (6)

danb35 avatar danb35 commented on July 17, 2024 2

Cloudflare already has its own API which can be used on a lot of platforms to setup dyndns.

Indeed it does, but DNS-O-Matic's is much more widely supported. But I can probably clarify that DNS-O-Matic is not necessarily required in order to do dynamic DNS.

from freenas-iocage-nextcloud.

git3smurf avatar git3smurf commented on July 17, 2024

After some trial and error I found out what the Idea is to link my domain, CloudFlare, DNS-o-Matic and pfSense all together..:

In your Domain <example.com>, make sure to use the assigned CloudFlare nameservers, you can find them on the cloudflare site when logged in under DNS management.

In DNS-o-matic choose CloudFlare as service to add. Under the faq of the Cloudflare-website I found this which was very helpful to me:

Configuration of DNS-O-Matic requires prior knowledge of the following information. Content within <> brackets below must be determined for the particular domain:
Email:
API Token:
Domain: <example.com>
Hostname: dynamic
Email is the email address corresponding to the account used to log in to Cloudflare. If using Cloudflare’s Multi-user account feature, this email address must have sufficient privileges for managing DNS.
To find your API Token the Cloudflare UI:
Log in to the Cloudflare dashboard.
Select My Profile from the dropdown located in the top right.
Under API Keys, click View beside Global API

Key.
https://support.cloudflare.com/hc/en-us/articles/360020524512

For DNS-o-matic to be used by pfsense:
Choose in pfSense to add DNS-o-matic under Services>Dynamic DNS>Dynamic DNS Clients.
Interface to monitor: WAN (in most cases)
As a host you can use: all.dnsomatic.com (not sure if this is needed)
Fill in your dns-o-matic credentials for username and password and leave the rest blank
Click "save and force update"

Now, if all works out well, CloudFlare should indicate your WAN-IP which it points to.

from freenas-iocage-nextcloud.

git3smurf avatar git3smurf commented on July 17, 2024

Above set as decribed. Script installed and ran succesfully...
But I cannot reach nextcloud.... instead I get an error 522 from cloudflare...
what could be wrong?

from freenas-iocage-nextcloud.

git3smurf avatar git3smurf commented on July 17, 2024

Have not been able to solve the problem completely sofar...
I Have got rid of the 522 error by whitelisting the cloudflare ip# in pfsense / pfblocker ng as indicate on the cloudflare faq site . ...
But then I got this error:
Potential DNS Rebind attack detected, see http://en.wikipedia.org/wiki/DNS_rebinding
Try accessing the router by IP address instead of by hostname.

Iwonder if nextcloud is functioning in the right way...
Should you be able to log in to nextcloud via the local jail_ip?
How can I make sure nextcloud is actualy running?

from freenas-iocage-nextcloud.

vroomr avatar vroomr commented on July 17, 2024

My guess is you have your pfSense setup borked. You need to NAT ports 80 and/or 443 (most likely both) to your nextcloud internal IP. Also, you might be hitting your pfSense ui instead of nextcloud. (might need to change the port for your pfSense webui also.

You ever get this sorted?

from freenas-iocage-nextcloud.

Ornias1993 avatar Ornias1993 commented on July 17, 2024

@danb35 Please remove the crap about DNS-O-MATIC and Cloudflare completely...
Cloudflare already has its own API which can be used on a lot of platforms to setup dyndns.

from freenas-iocage-nextcloud.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.