Comments (6)
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.
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.
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.
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.
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.
@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)
- Got the HSTS message with self signed cert HOT 1
- File upload limit is limited to 10Mb HOT 9
- autostart on boot, HOT 1
- Installation debugging. HOT 1
- TrueNAS CORE 13.0 support - issues found HOT 1
- Redis issue on reinstall HOT 1
- Stopped nextcloud due to VNET failure: Failed to create jail HOT 4
- mariadb103 becomes unsupported in May 2023
- Cant access nextcloud via web after running script HOT 2
- Failed to create MariaDb database aborting HOT 4
- Nextcloud 27 - Major things broken HOT 1
- Failed to install Nextcloud HOT 11
- record size for database dataset: 16K or 32K? HOT 2
- Installation fails when using PostgreSQL
- Connect with IP address?
- 'Failed to download Nextcloud' HOT 8
- DNS challenge fails with ZeroSSL in Caddy in production, works in staging HOT 2
- cant access the Nextcloud url from inside my network on mobile devices HOT 1
- Unable to connect to nextcloud after successful install HOT 7
- download.htm "site wasn't available" when downloading a folder HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freenas-iocage-nextcloud.