Registering BIND DNS Servers in the System
Register the BIND DNS servers that you prepared in the system. To do this, perform the following steps for each server:
-
In the provider control panel, go to Services > Domains.
-
Select the DNS tab.
-
Select the Nameservers subtab.
-
Click Register DNS service.
-
In the Type list, select Bind.
-
Specify the following parameters:
-
hostname: The FQDN of the server. For example: ns01.provider.com
-
service.ip.address: The public IP address of the server. For example: 8.8.8.8
-
ssh.ip.address: The private IP address of the server. For example: 10.10.10.10
-
ssh.port: The SSH port of the server. For example: 22
-
ssh.login: The login name of the dedicated user that will be used by the system to perform provisioning operations on the server. For example: binduser
-
ssh.key: The private SSH key of the dedicated user. For example:
-----BEGIN RSA PRIVATE KEY----- ... -----END RSA PRIVATE KEY-----
-
ssh.key.passphrase: The passphrase of the private SSH key.
-
ssh.fingerprint: The fingerprint of the public ED25519 SSH key of the server. The system will use this fingerprint to validate the authenticity of the server.
For example: SHA256:iri9QfrN6HBqrMa0pdBv5IgdMm8XMRAZ1H7WNZ1jKtk
To obtain this fingerprint, execute the following command on the server:
for f in /etc/ssh/ssh_host_*_key; do ssh-keygen -l -f "$f"; done
For example:
for f in /etc/ssh/ssh_host_*_key; do ssh-keygen -l -f "$f"; done ... 256 SHA256:iri9QfrN6HBqrMa0pdBv5IgdMm8XMRAZ1H7WNZ1jKtk /etc/ssh/ssh_host_ed25519_key.pub (ED25519) ...
-
bind.zones.dir: The absolute path to the directory for forward DNS zones. For example:
/var/named
-
bind.secondary.zones.dir: The path to the directory for secondary DNS zones. You must specify this path relative to the path that you specified in bind.zones.dir. For example:
cbc_secondary_zones
-
bind.reverse.zones.dir: The path to the directory for reverse DNS zones. You must specify this path relative to the path that you specified in bind.zones.dir. For example:
cbc_reverse_zones
-
bind.forward.zones.file: The path to the file that forward DNS zone files will be included into. You must specify this path relative to the path that you specified in bind.zones.dir. For example:
cbc_forward_zone_list
-
bind.reverse.zones.file: The path to the file that reverse DNS zone files will be included into. You must specify this path relative to the path that you specified in bind.zones.dir. For example:
cbc_reverse_zone_list
-
-
Check the values that you specified and click Submit.
After registering the servers, you can proceed to creating DNS resources in the system, as described in this section.