Cloudflare: Difference between revisions

From Bitpost wiki
Line 2: Line 2:


== IP Change ==
== IP Change ==
ddclient is used to detect IP changes every 5 minutes.  When it sees one, it calls the Cloudflare API to update the IP.  WOW!  ddclient runs as a service on bitpost, see the config file here:
/etc/ddclient.conf
Keep it synced with cloudflare domains, letsencrypt, haproxy, site code.


After updating IP, it seems i have to disable proxy to get it to resolve.  After a while, set it back on.  Need to learn more here...
After updating IP, it seems i have to disable proxy to get it to resolve.  After a while, set it back on.  Need to learn more here...

Revision as of 18:03, 25 November 2023

Cloudflare seems to do everything I need and more: domain registration, DNS, domain forwarding, email forwarding, etc... and that world-class cloudflare proxying!

IP Change

ddclient is used to detect IP changes every 5 minutes. When it sees one, it calls the Cloudflare API to update the IP. WOW! ddclient runs as a service on bitpost, see the config file here:

/etc/ddclient.conf

Keep it synced with cloudflare domains, letsencrypt, haproxy, site code.

After updating IP, it seems i have to disable proxy to get it to resolve. After a while, set it back on. Need to learn more here...

Email Forwarding

Go to Email, start the "wizard", add an initial routing, and it will suggest adding the basic forwarding DNS records. Add them.

Then you have access to route emails to the domain. Route them to gmail. Use a catch-all until it is a problem (it hasn't been yet).

Email forwarding has been set up for...

thedigitalmachine.com
bitpost.com 
abettersoftware.com
abettertrader.com