Table of Contents

Cloudflare

Add a Domain

Either create a Cloudflare account:

Or log in to an existing account:

Then add a site:

Disable Email Sending

Secure the domain from being used to Spoof emails:

Dynamic DNS

Set up a dynamic DNS updating service locally to keep the ip address updated:

# Enter configuration mode.
configure
# Configure the dynamic DNS hostname.
set service dns dynamic interface eth0 service custom-cloudflare host-name <subdomain.domain.com>
# Define the dynamic DNS credentials.
set service dns dynamic interface eth0 service custom-cloudflare login <user@domain.com>
set service dns dynamic interface eth0 service custom-cloudflare password <cloudflare-api-key>
# Define the dynamic DNS protocol.
set service dns dynamic interface eth0 service custom-cloudflare protocol cloudflare
# Specify the root domain name for the Cloudflare zone.
set service dns dynamic interface eth0 service custom-cloudflare options zone=<domain.com>
	
# Commit the changes and save the configuration.
commit ; save
	

# You can verify the status and/or force an update of the Dynamic DNS service using the commands below:
show dns dynamic status
update dns dynamic interface eth0