Skip to content

Commit bdbd3df

Browse files
Update dns.md
Fixed typo Guided to access keys noted slave users must be unique (see https://forum.hestiacp.com/t/dns-cluster-slave-deletes-dns-after-few-minutes/9645/6)
1 parent 1e99e10 commit bdbd3df

File tree

1 file changed

+3
-2
lines changed
  • docs/docs/server-administration

1 file changed

+3
-2
lines changed

docs/docs/server-administration/dns.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,12 @@ Preparing your **Slave** server(s):
7272

7373
1. Whitelist your master server IP in **Configure Server** -> **Security** -> **Allowed IP addresses for API**
7474
2. Enable API access for admins (or all users).
75-
3. Create an API key under the **admin** user with at least the **sync-dns-cluster** permission.
75+
3. Create an API key under the **admin** user with at least the **sync-dns-cluster** permission. This is found in user settings / Access keys.
7676
4. Create a new DNS sync user as follows:
7777
- Has email address (something generic)
7878
- Has the role `dns-cluster`
7979
- You may want to set 'Do not allow user to log in to Control Panel' if they are not a regular user
80+
- If you have more than one slave, the slave user must be unique
8081
5. Edit `/usr/local/hestia/conf/hestia.conf`, change `DNS_CLUSTER_SYSTEM='hestia'` to `DNS_CLUSTER_SYSTEM='hestia-zone'`.
8182
6. Edit `/etc/bind/named.conf.options`, do the following changes, then restart bind9 with `systemctl restart bind9`:
8283

@@ -116,7 +117,7 @@ Preparing your **Master** server:
116117
v-add-remote-dns-host slave.yourhost.com 8083 'admin' 'strongpassword' 'api' 'user-name'
117118
```
118119

119-
3. Check it worked by listing the DNS zones on the **Slave** for the dns-user with the CLI command `v-list-dns-domains dns-user` or by connecting to the web iterface as dns-user and reviewing the DNS zones.
120+
3. Check it worked by listing the DNS zones on the **Slave** for the dns-user with the CLI command `v-list-dns-domains dns-user` or by connecting to the web interface as dns-user and reviewing the DNS zones.
120121

121122
### Converting an existing DNS cluster to Master -> Slave
122123

0 commit comments

Comments
 (0)