mirror of
https://github.com/jsiebens/ionscale.git
synced 2026-03-31 15:07:49 +01:00
fix incorrect dns configuration examples
This commit is contained in:
@@ -99,10 +99,7 @@ dns:
|
|||||||
name: "cloudflare"
|
name: "cloudflare"
|
||||||
zone: "example.com"
|
zone: "example.com"
|
||||||
config:
|
config:
|
||||||
auth_token: "your-cloudflare-api-token"
|
api_token: "your-cloudflare-api-token"
|
||||||
# OR use email/api_key authentication
|
|
||||||
# email: "your-email@example.com"
|
|
||||||
# api_key: "your-global-api-key"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
For Cloudflare, create an API token with the "Edit" permission for "Zone:DNS".
|
For Cloudflare, create an API token with the "Edit" permission for "Zone:DNS".
|
||||||
@@ -138,6 +135,7 @@ dns:
|
|||||||
secret_access_key: "your-secret-access-key"
|
secret_access_key: "your-secret-access-key"
|
||||||
# Optional region, defaults to us-east-1
|
# Optional region, defaults to us-east-1
|
||||||
region: "us-east-1"
|
region: "us-east-1"
|
||||||
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
For AWS Route 53, create an IAM user with permissions to modify records in your hosted zone.
|
For AWS Route 53, create an IAM user with permissions to modify records in your hosted zone.
|
||||||
@@ -151,11 +149,9 @@ dns:
|
|||||||
name: "googleclouddns"
|
name: "googleclouddns"
|
||||||
zone: "example-com" # Note: GCP uses zone names without dots
|
zone: "example-com" # Note: GCP uses zone names without dots
|
||||||
config:
|
config:
|
||||||
project: "your-project-id"
|
gcp_project: "your-project-id"
|
||||||
# Either provide service account JSON directly
|
# Optional path to a service account key file
|
||||||
service_account_json: '{"type":"service_account","project_id":"your-project",...}'
|
# gcp_application_default: "/path/to/service-account-key.json"
|
||||||
# OR specify a path to a service account key file
|
|
||||||
# service_account_key_file: "/path/to/service-account-key.json"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
For Google Cloud DNS, create a service account with the "DNS Administrator" role.
|
For Google Cloud DNS, create a service account with the "DNS Administrator" role.
|
||||||
@@ -169,7 +165,7 @@ dns:
|
|||||||
name: "digitalocean"
|
name: "digitalocean"
|
||||||
zone: "example.com"
|
zone: "example.com"
|
||||||
config:
|
config:
|
||||||
token: "your-digitalocean-api-token"
|
auth_token: "your-digitalocean-api-token"
|
||||||
```
|
```
|
||||||
|
|
||||||
For DigitalOcean, create an API token with read and write access.
|
For DigitalOcean, create an API token with read and write access.
|
||||||
|
|||||||
Reference in New Issue
Block a user