Skip to content

Commit dc1bbba

Browse files
authored
Update dns.md to enable DNSSEC properly (hestiacp#4686)
The instructions weren't completely clear on what needed to be done on master and what on slave. Make these a bit more clear.
1 parent f3c5b9b commit dc1bbba

File tree

1 file changed

+7
-6
lines changed
  • docs/docs/server-administration

1 file changed

+7
-6
lines changed

docs/docs/server-administration/dns.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ Preparing your **Slave** server(s):
9292

9393
Preparing your **Master** server:
9494

95-
1. On the **Master** server, open `/etc/bind/named.conf.options`, do the following changes, then restart bind9 with `systemctl restart bind9`.
95+
1. On the **Master** server, open `/usr/local/hestia/conf/hestia.conf`, change `DNS_CLUSTER_SYSTEM='hestia'` to `DNS_CLUSTER_SYSTEM='hestia-zone'`.
96+
2. Edit `/etc/bind/named.conf.options`, do the following changes, then restart bind9 with `systemctl restart bind9`.
9697

9798
```bash
9899
# Change this line
@@ -105,7 +106,7 @@ Preparing your **Master** server:
105106
also-notify { second.slave.ip.address; };
106107
```
107108

108-
2. Run the following command to enable each Slave DNS server, and wait a short while for it to complete zone transfers:
109+
3. Run the following command to enable each Slave DNS server, and wait a short while for it to complete zone transfers:
109110

110111
```bash
111112
v-add-remote-dns-host <your slave host name> <port number> '<accesskey>:<secretkey>' '' 'api' '<your chosen slave user name>'
@@ -117,12 +118,12 @@ Preparing your **Master** server:
117118
v-add-remote-dns-host slave.yourhost.com 8083 'admin' 'strongpassword' 'api' 'user-name'
118119
```
119120

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.
121+
4. 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.
121122

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

124-
1. In `/usr/local/hestia/conf/hestia.conf`, change `DNS_CLUSTER_SYSTEM='hestia'` to `DNS_CLUSTER_SYSTEM='hestia-zone'`.
125-
2. On the master server, open `/etc/bind/named.conf.options`, do the following changes, then restart bind9 with `systemctl restart bind9`.
125+
1. On **Master** and **Slave** servers, open `/usr/local/hestia/conf/hestia.conf`, change `DNS_CLUSTER_SYSTEM='hestia'` to `DNS_CLUSTER_SYSTEM='hestia-zone'`.
126+
2. On the **Master** server, open `/etc/bind/named.conf.options`, do the following changes, then restart bind9 with `systemctl restart bind9`.
126127

127128
```bash
128129
# Change this line
@@ -135,7 +136,7 @@ Preparing your **Master** server:
135136
also-notify { second.slave.ip.address; };
136137
```
137138

138-
3. On the slave server, open `/etc/bind/named.conf.options`, do the following changes, then restart bind9 with `systemctl restart bind9`:
139+
3. On the **Slave** server, open `/etc/bind/named.conf.options`, do the following changes, then restart bind9 with `systemctl restart bind9`:
139140

140141
```bash
141142
# Change this line

0 commit comments

Comments
 (0)