Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
How to use DNS with Plesk server?
Answer
DNS settings can be controlled by Plesk or by the Domain Registrar or External DNS provider:
Click on a section to expand
Purpose
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 is not installed, add the DNS Server component to Plesk configuration. Open UDP port 53 in the firewall and in external firewall, if applicable. 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 > <domain_name> > Hosting & DNS > DNS Settings in Dynamic List view or Domains > <domain_name> > DNS Settings in other views
-
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 (
ns1.<domain_name>
andns2.<domain_name>
) and the server IP address as these will be needed in next steps. -
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 (
ns1.<domain_name>
andns2.<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 propagation which can take up to 48 hours, completed, changes come into effect.
Instructions for other domain registrars
A problem that some domain registrars require two NS server with different IP addresses may be experienced. To solve this, there are different solutions available:
- 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 203.0.113.2 ns2.example.com 203.0.113.3 - Setup a slave DNS server on additional hosting and connect it to Plesk as a Slave DNS server using the extension.
- Use one of the following 3rd-party extensions that allow adding DNS zones: Microsoft Azure DNS, DigitalOcean DNS, Amazon Route 53
The default DNS records can be reviewed in Plesk > Domains > example.com > DNS Settings, for example:
All the required records for enabled services (DNSSec, DMARC, etc) will be added automatically.
Purpose
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):
Comments
15 comments
Please solve this problem
Hello Mohammad Sayem Rahman
Please, try this instruction: https://support.plesk.com/hc/en-us/articles/115002073254-A-website-hosted-in-Plesk-is-not-accessible-401-Authorization-Required
In case this wouldn't help, submit a request for Plesk Support: https://support.plesk.com/hc/en-us/articles/213608509-How-to-submit-a-request-to-Plesk-support-
I can't connect my webmail services (at Plesk) and i have this message:
nslookup webmail.domain.com XX.XXX.XXX.XX
;; connection timed out; no servers could be reached
i configured my DNS's Plesk at Namecheap and doesn't work :(
i guess i should be wait for another 24/48 hrs.
Hi Jorge Cocompech,
Correct, it seems that your DNS provider hasn't propagated the DNS yet according your message.
Здравствуйте, не получается добавить домен. Помогите.
Hi @Serhii Kravchenko,
Please check the resolution provided in the article below:
https://support.plesk.com/hc/en-us/articles/213374109
If the solution is not helpful, please contact Plesk support directly:
https://support.plesk.com/hc/en-us/requests/new
Вчера я просил помощи. Сегодня продолжаю просить. ПОМОГИТЕ ПОЖАЛУЙСТА !!!
На рисунке я показал, что при попытке добавить домен на хостинг, я получаю отказ, по причине того, что запись с доменом уже существует.
Человек в интересахах от имени которого я действую предоставил мне доступ под логином : он утверждает, что уже много лет управляет доменами на хостинге под этим логином и ничего не слышал о "plesk".
1) прошу ВАС удалить запись, что позволит мне добавить её на хостинг в последствии.
2) Или добавьте это домен на хостинг без моего участия.
Доступа на "plesk" у меня нет.
Здравствуйте Serhii Kravchenko
Компания Plesk является разработчиком одноименно ПО, которое используют хостинг-провайдеры.
В Вашем случае, необходимо обратиться в компанию, которая оказывает услуги хостинга Вашему кленту.
Hi, Ivan Postnikov Thank you for your writing! It is easy to understand and detailed. I feel it is interesting, I hope you continue to have such good suggestions.
I have a business website ISO Certification in Bahrain as an ISO service provider for industries information security management systems from these questions and answers it was really helpful for us to how secure, store and retrieve data properly on websites with DNS.
Mark buenos días, yo tengo una incidencia en Plesk abierta lo que pasa es que creo que tu compañero no entendió del todo el caso o eso creo.
https: // soporte. plesk .com / hc / request / 279208
He creado en godaddy las 2 dns, las he activado. Pero creo que al venir de una migración hay algo dentro de plesk que no deja conectarse o por el contrario no se propaga bien por algo que hago mal.
El servidor lo tengo Ionos y he visto que tienen ellos otro firewall aparte que ya me costó mi tiempo ver que estaba el puerto 21 de ftp cerrado. No se si tal vez las DNS vayan por algún puerto en especial he abierto el 53
¿Podría revisar mi solicitud de plesk? Para ver que tenog que hacer, estoy migrando de servidor y estoy en medio como aquel que dice.
Un saludo.
Hola Israel Diaz,
Antes de nada, dejemos claro que este no es el canal adecuado para pedir que se mire un ticket. Este es un sistema para que podáis comentar sobre el artículo y su contenido, es decir para aclarar dudas sobre el, reportar problemas de este artículo e informar sobre contenido desactualizado. No para pedir soporte, ya que para eso existe el sistema de Tickets.
Que conste que no lo digo a malas, simplemente las cosas claras y el chocolate espeso :)
Dicho esto, porqué no reabres el ticket si aún tienes el problema? Simplemente entra en la request que has creado y reabre el ticket pidiendo que se revise y porqué (si tienes algún error relevante o algo). Según veo, tu mismo solventaste el ticket ¯\_(ツ)_/¯.
El DNS funciona únicamente por el puerto 53, al menos hasta que realmente se implemente el DNS over HTTP (https://en.wikipedia.org/wiki/DNS_over_HTTPS) de forma globalizada. Por el momento, creo que aún esta así en modo pruebas.
Además, para tu información, el sistema de DNS es bastante sencillo y se trata únicamente de "seguir la cadena", con esto quiero decir que una vez registras tu dominio, pueden pasar 2 cosas:
1- Que le digas a tu registrador que ellos se encargan del DNS (externo a Plesk, y gestionado por tu cuenta)
2- Que le digas a tu registrador que el servidor que se encarga de propagar la zona DNS es tu Plesk (en tal caso, añades los glue records en tu registrador de dominio que dichas IPs son las de Plesk).
A partir de aquí, ya es facil y se aplica el principio de "seguir la cadena". Tu preguntas por el dominio, tu registrador te dice (en el caso 2) que el dominio está gestionado en X e Y IPs (las de Plesk), y entonces lo que haces es volver a preguntar a una de esas 2 IPs que hay de el dominio, el cual Plesk (si lo conoce) te responderá. Esto en el caso sencillo, luego hay además delegación de zonas que casi ni se usa en Plesk :)
Puedes averiguarlo con un whois y dig/nslookup.
Un saludo
Hello,
Can you clarify that once I have followed the instructions for my domain registrar (Cheap Domains), i.e., added personal server details - do I still need to add the "DNS SERVER COMPONENT"? If YES, which specific component are you referring to? (Link please)
Many thanks, GJ
it was really helpful for us as we have cloudarmee an Cloud operation website, We got some information like how to store and retrieve data properly on websites with DNS. but if we have cloud DNS it will be more helpful right.
I have a website called Mobiotics, we provide server to OTT platforms. we are facing some issues about DNS, this article helped me to resolve the issues, Thank you for your valuable answer.
????.
Please sign in to leave a comment.