Skip to content
This repository has been archived by the owner on Sep 2, 2019. It is now read-only.

Update CloudFlare DNS record automatically with the ip address from the server

Notifications You must be signed in to change notification settings

jeroen-de-bruin/dynamic-dns-cloudflare

Repository files navigation

dynamic-dns-cloudflare

In order to provide public access to services located behind a non-fixed IP addess, an A record in CloudFlare needs to be updated periodically with the current IP address.

This package gets the public-facing ip address (at the moment using ipecho.net) and makes an api call to CloudFlare to update a record.

Setup

Configuration

  1. Run $ composer instal to install the required dependencies.

  2. Copy the .env file to .env.local or to an environment related file like .app.dev.local and set the appropriate values.

    At this moment APP_EMAIL is not used and not necessary.

  3. Check the commands available using bin/console.

Examples

Get the CloudFlare user details:

$ bin/console jdd:cloudflare:getuserdetails

About

Update CloudFlare DNS record automatically with the ip address from the server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published