Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| notebook:cloudflare_ddns_configuration [2018/05/11 16:26] – created macgeek312 | notebook:cloudflare_ddns_configuration [2025/05/12 13:37] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Recent firmware on the USG (I used 4.5.3dev but should work on recent 4.4x also) allows for native configuration of CloudFlare DDNS without a third party service (like the ever popular DNS-O-Matic). | + | === Cloudflare DDNS Configuration using config.gateway.json === |
| + | \\ | ||
| + | Recent firmware on the USG (tested on 4.5.3dev, but should work on recent 4.4x also) allows for native configuration of CloudFlare DDNS without a third party service (like the ever popular DNS-O-Matic). | ||
| + | The only catch [for now], is you have to use config.gateway.json (this file is on/needs to be created on the controller in the applicable site) to accomplish this (as of Controller 5.9.4). | ||
| - | " | + | **If you need further information please see [[https://help.ubnt.com/ |
| - | " | + | \\ |
| - | " | + | -------------------------------------------------------------------------------------------------------------------------- |
| - | " | + | |
| - | "< | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | "< | + | |
| - | ], | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | } | + | |
| - | } | + | |
| - | } | + | |
| - | } | + | |
| - | } | + | |
| - | } | + | |
| - | } | + | |
| - | | + | |
| + | __**PLEASE NOTE:**__ | ||
| + | * Prior to creating the .json file on your gateway, create the file in a text editor, such as Atom or Notepad++, and then validate your file at a JSON validator site such as https:// | ||
| + | * If the syntax fails verification, | ||
| + | * If your unsure, reach out to the **[[https:// | ||
| + | |||
| + | -------------------------------------------------------------------------------------------------------------------------- | ||
| + | \\ | ||
| + | Below is an example of the **config.gateway.json** needed to make this work: | ||
| + | < | ||
| + | < | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | "< | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | "< | ||
| + | ], | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ], | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | < | ||
| + | -------------------------------------------------------------------------------------------------------------------------- | ||
| + | === If the above does not work === | ||
| + | The above did not work for me, on 4.4.36.5146617. But the following does | ||
| + | - Upgrade ddclient to 3.9.0 (from 3.8.3) | ||
| + | - Install the required dependency libdata-validate-ip-perl (Requires adding remotes, so make sure do not do upgrade of any packages) | ||
| + | - Make sure the subdomain you want to automatically is set to any value at cloudflare. | ||
| + | - Do the same config as above but **skip server** (as in remove that part of the json) | ||
| + | - Now it should work. | ||
| + | |||
| + | If it complaints about < | ||