Either create a Cloudflare account:
Or log in to an existing account:
Then add a site:
@
for the name, any temporary filler ip address, automatic TTL, and deselect the cloud icon.Done, check nameservers
back on cloudflare.Set up a dynamic DNS updating service locally to keep the ip address updated:
eth0
with the active WAN Port, usually eth0
or pppoe0
.# 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