Name servers
Introduction
FASTPANEL® supports synchronization with third-party DNS servers and also allows to set up a DNS service on a local server Main/Secondary including
DNS-server set up options
FASTPANEL® supports local BIND9 based DNS server installation. This option will become available after installing a corresponding application in the “Applications” section.
Standalone Name Server
After BIND9 is installed, FASTPANEL® configure DNS server as a Main server
For this scenario, as it is required by most domain registrars, a second IP address assigned to the server is essential.
How does it work?
When a domain is being added to FASTPANEL®, NS records will be generated based on available IP addresses which can be used by default.
Pros of using this scenario:
- Easy to setup
- Savings in Secondary servers
Cons of using this scenario:
- No DNS query balancing
- Poor fault tolerance due to the use of one server
Server configuration in Main/Secondary mode
This configuration will require at least two servers with FASTPANEL® installed. They will act as a Main-server and a Secondary-server accordingly.
After BIND9 is installed from "Application" section on a Secondary server, go to DNS account settings subsection, then click on Secondary tab and click "Token" button.
Copy the token as it will be required to set up a Main server.
Switch to Main server and go to "Secondary" tab in "DNS account settings" and click "Add"
In the opened window specify the following parameters:
- Name - Account name
- Token - Token from the Secondary server
- Host - Secondary server IP address
After clicking "Save" button the configuration will be applied. Secondary server will appear in the "Secondary" tab on the Main server.
On the Secondary server, in turn, "Main" tab will appear displaying the Main account.
How does it work?
Just as in standalone mode, FASTPANEL® will generate NS records based on Main and Secondary server IP addresses that can be used as default.
Pros of using this scenario:
- Higher fail-safety in case one server goes offline
- Balanced DNS requests handling
Cons of using this scenario:
- This requires at least two servers
How to disable Main/Secondary sync?
To disable Main/Secondary DNS mode, it is required to remove Main and Secondary servers in "DNS account settings" subsection on both servers.