You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allows users to create and manage custom subdomains for their game servers using Cloudflare DNS.
3
+
Allows users to create and manage custom subdomains (A/AAAA or SRV) for their game servers using Cloudflare DNS.
4
4
5
-
## Features
5
+
## Setup
6
6
7
-
-Create custom subdomains for game servers
8
-
- Cloudflare DNS integration for automatic record management
9
-
- Admin management of Cloudflare domains
10
-
- Per-server subdomain limits
7
+
Create a Cloudflare API token and enter it via the plugin settings.
8
+
The token needs to have read permissions for `Zone.Zone` and write for `Zone.Dns`. For better security you can also set the `Zone Resources` to exclude certain domains and add the panel ip to the `Client IP Address Filtering`.
9
+
10
+
Note: You can't create subdomains for servers with `0.0.0.0` or `::` as allocation!
11
11
12
12
## SRV Records
13
13
14
14
In order to create SRV records instead of A/AAAA you need to do the following:
15
15
16
16
1. Set a `SRV target` for the node
17
-
2. Add a [SRV service type](https://github.com/pelican-dev/plugins/blob/main/subdomains/src/Enums/SRVServiceType.php#L10-L16) to the features of the egg, e.g. `srv-minecraft`
17
+
2. Add a [SRV service type](https://github.com/pelican-dev/plugins/blob/main/subdomains/src/Enums/SRVServiceType.php#L10-L15) to the features of the egg. The format is `srv-` and then the service name, e.g. `srv-minecraft` or `srv-rust`.
Copy file name to clipboardExpand all lines: subdomains/lang/en/strings.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@
21
21
'sync' => 'Sync',
22
22
23
23
'api_token' => 'Cloudflare API Token',
24
-
'api_token_help' => 'The token needs to have read permissions for Zone.Zone and write for Zone.Dns. For better security you can also set the "Zone Resources" to exclude certain domains and add the panel ip to the "Client IP Adress Filtering".',
24
+
'api_token_help' => 'The token needs to have read permissions for Zone.Zone and write for Zone.Dns. For better security you can also set the "Zone Resources" to exclude certain domains and add the panel ip to the "Client IP Address Filtering".',
0 commit comments