mirror of
https://github.com/timothymiller/cloudflare-ddns.git
synced 2026-03-21 22:48:57 -03:00
CNAME records
- Recommended way to configure multiple subdomains per IP address is now via CNAME records. Notes added in README. - Updated config.json subdomain examples to reflect how base domain is appended in code.
This commit is contained in:
@@ -20,6 +20,9 @@ Values explained:
|
||||
"proxied": false (defaults to false. Make it true if you want CDN/SSL benefits from cloudflare. This usually disables SSH)
|
||||
```
|
||||
|
||||
## :fax: Hosting multiple domains on the same IP?
|
||||
You can save yourself some trouble when hosting multiple domains pointing to the same IP address (in the case of Traefik) by defining one A & AAAA record 'ddns.example.com' pointing to the IP of the server that will be updated by this DDNS script. For each subdomain, create a CNAME record pointing to 'ddns.example.com'. Now you don't have to manually modify the script config every time you add a new subdomain to your site!
|
||||
|
||||
## :running: Running
|
||||
|
||||
This script requires Python 3.5+, which comes preinstalled on the latest version of Raspbian. Download/clone this repo and execute `./sync`, which will set up a virtualenv, pull in any dependencies, and fire the script.
|
||||
|
||||
Reference in New Issue
Block a user