Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions pages/dedibox-dns/how-to/configure-secondary-dns.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ This how-to assumes that you want to manage your domains exclusively with BIND.
2. Log in to your server as root [via SSH](/dedibox/how-to/connect-to-server/#connecting-via-ssh).
3. Use your favorite text editor to edit the general BIND configuration file, located at `/etc/bind/named.conf`. The configuration of your domain should be as follows (replace `domain.fr` with your domain):
```
zone "domain.fr" {
type master;
notify yes;
allow-transfer { 62.210.16.8; };
file "/etc/bind/domain.fr.db";
};
zone "domain.fr" {
type master;
notify yes;
allow-transfer { 62.210.16.8; };
file "/etc/bind/domain.fr.db";
};
```
4. Edit the file pointed to in the configuration carried out in step 3. In this example, you can see that the content of the zone is located in the file `/etc/bind/domain.fr.db`. Use your favorite text editor to edit the file as follows:
```
Expand Down Expand Up @@ -90,12 +90,13 @@ This how-to assumes that you want to manage your domains exclusively with BIND.
- Remember to create a postmaster mailbox ([email protected]) for your domain.

1. Use a zonecheck service such as this one: [https://zonemaster.net/en/](https://zonemaster.net/en/):
- In **zone**, enter your domain without www or http
- In **primaire**, enter the reverse (sd-xxxx.dedibox.fr) of your server and its IP
- In **secondaire** enter nssec.online.net and 62.210.16.8 as the IP
2. Click **Vérifier!**.
- In **Domain name**, enter your domain without `www` or `http`.
- Click **Show options** to display advanced options.
- In the first **Nameserver** field, enter the reverse (`sd-xxxx.dedibox.fr`) of your server and its IP.
- In the second **Nameserver** filed enter `nssec.online.net` and `62.210.16.8` as the IP.
2. Click **Run the test**.
- If the test generates errors, correct the problems identified in the error messages.
- If the test result is `SUCCÈS`, this means everything is working. You can update the DNS servers of your domain at your registrar.
- If the test result is marked with a green dot and check mark, everything is configured correctly. You can update the DNS servers of your domain at your registrar.

## How to deal with a failed zone transfer

Expand Down