- Plesk for Linux
- Plesk for Windows
How to use DNS with Plesk server?
DNS settings can be controlled by Plesk or by the Domain Registrar or External DNS provider:
Click on a section to expand
Easy and all in one DNS management for all domains.
How to configure
For this way, DNS Server should be installed in Plesk Installer. If it wasn't, follow the steps and add DNS Server component to Plesk configuration. Open UDP port 53 on system and external (if applicable) firewall. Log into Plesk and find your Name Servers in Plesk > Domains > example.com > DNS Settings, take the "value" for the record type "NS".
Then, it is required to change Name Server for your domain at your domain registrar's account.
Here is an example for IONOS (formerly 1&1):
Log in to Plesk
Go to Websites & Domains > your domain > the “Hosting & DNS” tab > DNS Settings.
Locate two glue records. They have the following pattern:
ns1.<domain_name> <the Plesk server IP address> ns2.<domain_name> <the Plesk server IP address>
Copy the NS records’ hostnames (
ns2.<domain_name>) and the server IP address. You will need them later.
At the top, click MENU > Domains & SSL.
Next to your domain, click the icon and then click Nameserver.
Click Use custom name servers.
Specify two nameservers (
ns2.<domain_name>), the Plesk IP address, and then click Save. The fields for IP addresses will appear once you specify the nameservers.
Note: Plesk is now configured as the primary DNS server and once changes come into effect, propagation can take up to 48 hours.
Instructions for other domain registrars
The problem that may be experienced, some domain registrars require two NS server with different IP addresses. To solve this, there may be different ways:
- Allocate an additional IP address from the Hosting Provider and add it to Plesk. Then use it as an additional Name Server in domains DNS Settings.
Example: ns1.example.com 18.104.22.168 ns2.example.com 22.214.171.124
- Setup a slave DNS server on additional hosting and connect it to Plesk as a Slave DNS server using the extension.
- Use 3rd-party extensions that allow adding DNS zones: Microsoft Azure DNS, DigitalOcean DNS, Amazon Route 53
Menu Plesk > Domains > example.com > DNS Settings should be available.
It looks in this way and contains all the required DNS domain records:
All the required records for enabled services will be added automatically(DNSSec, DMARC and etc).
Hosting up to a few domains only on the same domain registrar for the same client or for selling.
How to configure
For this way, DNS Server option should be unchecked in Plesk Installer. If it was installed, follow the steps and remove DNS Server from Plesk configuration.
All the manipulations with DNS should be performed on a domain registrar side. Like on an example below(IONOS, formerly 1&1):