# DNS Servers

DNS servers are a critical part of the internet infrastructure. Their main purpose is to translate human-friendly domain names (like www.example.com) into the unique numerical IP addresses (like 192.0.2.1) that computers and servers use to communicate with each other. DNS servers ensure that you can easily navigate the internet using domain names instead of having to remember and use complex IP addresses.

# DNS servers

Server, Zones and Templates - these are the three sections dedicated to DNS servers. Check below for all details.

Servers - list of already existing DNS servers with precise information displayed on the first sight:

# Server synchronization

The DNS Server synchronization enables the importation of current email domains into PanelAlpha. Please keep in mind that you can import DNS zones only for existing services with corresponding domains. Importing a DNS zone is not possible if a domain has not yet been created under a service.

# DNS zones

After a successful server synchronization, imported zones will appear in the Zones tab. This section displays zones from external DNS servers only.

# DNS templates

Templates allow you to configure DNS records that will be automatically assigned to the zone on creation. To assign DNS template, you need to set it up for each plan.

# Adding DNS zone template

Templates allow you to configure DNS records that will be automatically assigned to the zone on creation.

To assign a DNS template, you need to set it up for each plan.

  • Template name
  • Add Records (supported types: a, AAAA, CNAME, TXT, MX, NS)

Available variables - they retrieve information from the user's instance/service, based on them you can define a sample template that will be created on the DNS server after adding an instance, for example here Default Template, which is pre-installed automatically

  • {$domain} - Full domain name, e.g. 'example.com'
  • {$domainprefix} - Part of domain before first dot, e.g. 'example'
  • {$domaincomplement} - Part of domain after first dot, e.g. 'com'
  • {$ip} - Service IP address, e.g. '123.123.123.123'
  • {$hostingserverhostname} - Hosting server hostname or IP address, e.g.: 'yhostingserver.com' or '12.23.34.45'
  • {$dnsserverhostname} - DNS server hostname or IP address, e.g.: 'dnsserver.com' or '12.23.34.45'
  • {$ns1},{$ns2},{$ns3},{$ns4},{$ns5} - Nameservers assigned to the service

For the plans which have such a template set in the configuration in DNS Servers, such DNS records will be created on the server after create instance.

# Adding new server

Add DNS Server by pressing the button and filling in the short form:

Depending on the selected server type, you will have to provide additional details to successfully connect. For illustrations purposes we used Cloudflare server type, where only API Token is required. For more details on every server type, please refer to its dedicated documentation page.