FASTPANELWIKI

Domains

Synchronization with external DNS servers

On this page

Introduction

FASTPANEL® supports integration with three third-party DNS services. To setup DNS integration open the Side Menu → "Settings" → "Basic" → "DNS account settings". To add a DNS account you will need to set account name, select account type and specify a token that will be used for connection.

  1. Go to the side menu → "Main" → "DNS"

  2. Click "Add"

  3. Paste a token from an external DNS server interface

Cloudflare

To set up synchronization with Cloudflare you will need to get a token from your Cloudflare account. Follow these steps to create a token:

  • Open the API Tokens Management Page

    To do this go to "Manage Account" → "Account API Tokens" in your Cloudflare dashboard.

  • Create a New API Token

    • Click the Create Token button.

    • Select Create Custom Token.

    • Configure permissions:
      Under Permissions, set the following access levels:

      ResourcePermission ScopeAccess Level
      AccountAccount settingsRead
      ZoneZone settingsEdit
      ZoneCache purgePurge
      ZoneDNSEdit
      ZoneZoneEdit
    • Click Continue to summary.

    • Review the settings and click Create Token.

DigitalOcean

To set up synchronization with DigitalOcean DNS you will need to get a token from your DigitalOcean account. Perform the following steps to create a token:

"Account" → "API" → "Generate New Token"

When connecting this type of DNS account select "DigitalOcean".

FASTDNS

To set up synchronization with FASTVPS DNS you will need to get a token from your FASTVPS account. Perform the following steps to create a token:

"DNS management" → "Access Token" → "Add"

When connecting this type of DNS account select "FASTDNS".

Vscale

To set up synchronization with Vscale DNS you will need to get a token from your Vscale account. Perform the following steps to create a token:

"Settings" → "Token management" → "Create token"

When connecting this type of DNS account select "Vscale".

Name servers

On this page

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

note

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.