Skip to content

Commit 280c626

Browse files
committed
fix incorrect dns configuration examples
1 parent 57e8eb3 commit 280c626

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

mkdocs/docs/configuration/dns-providers.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,7 @@ dns:
9999
name: "cloudflare"
100100
zone: "example.com"
101101
config:
102-
auth_token: "your-cloudflare-api-token"
103-
# OR use email/api_key authentication
104-
# email: "your-email@example.com"
105-
# api_key: "your-global-api-key"
102+
api_token: "your-cloudflare-api-token"
106103
```
107104
108105
For Cloudflare, create an API token with the "Edit" permission for "Zone:DNS".
@@ -138,6 +135,7 @@ dns:
138135
secret_access_key: "your-secret-access-key"
139136
# Optional region, defaults to us-east-1
140137
region: "us-east-1"
138+
...
141139
```
142140

143141
For AWS Route 53, create an IAM user with permissions to modify records in your hosted zone.
@@ -151,11 +149,9 @@ dns:
151149
name: "googleclouddns"
152150
zone: "example-com" # Note: GCP uses zone names without dots
153151
config:
154-
project: "your-project-id"
155-
# Either provide service account JSON directly
156-
service_account_json: '{"type":"service_account","project_id":"your-project",...}'
157-
# OR specify a path to a service account key file
158-
# service_account_key_file: "/path/to/service-account-key.json"
152+
gcp_project: "your-project-id"
153+
# Optional path to a service account key file
154+
# gcp_application_default: "/path/to/service-account-key.json"
159155
```
160156

161157
For Google Cloud DNS, create a service account with the "DNS Administrator" role.
@@ -169,7 +165,7 @@ dns:
169165
name: "digitalocean"
170166
zone: "example.com"
171167
config:
172-
token: "your-digitalocean-api-token"
168+
auth_token: "your-digitalocean-api-token"
173169
```
174170
175171
For DigitalOcean, create an API token with read and write access.

0 commit comments

Comments
 (0)