🌐 Manage DNS zone from Plesk#
This guide explains how to modify your web hosting's DNS zone through the Plesk interface, with a focus on different record types and SRV configuration for Minecraft.
1️⃣ Access DNS management#
- Log in to Plesk or via the customer area.
- Select your domain from the list.
- Click on DNS Zone in the menu.
2️⃣ Types of DNS records#
Here is a table of the main DNS record types you can configure:
Type | Description | Example | Usage |
---|---|---|---|
A | Associates a domain name with an IPv4 address | www.example.com → 192.168.1.1 | Websites, servers |
AAAA | Associates a domain name with an IPv6 address | www.example.com → 2001:db8::1 | IPv6 websites |
CNAME | Alias to another domain name | blog.example.com → www.example.com | Subdomains, redirects |
MX | Mail server for the domain | example.com → mail.example.com | Email configuration |
TXT | Free text (verifications, SPF, DKIM) | "v=spf1 include:_spf.google.com ~all" | Email authentication, verifications |
SRV | Specific service (port, priority, weight) | _minecraft._tcp.example.com | Minecraft, Discord, SIP |
NS | Name servers for a zone | example.com → ns1.librahost.fr | DNS delegation |
PTR | Reverse resolution (IP to name) | 1.1.168.192.in-addr.arpa → www.example.com | Reverse resolution |
3️⃣ Add or modify a record#
Create a new record#
- Click on Add Record.
- Select the desired record type.
- Fill in the required fields:
- Name: The subdomain or @ for the main domain
- Value: The IP address, domain name or text depending on type
- TTL: Cache duration (leave default if uncertain)
- Click OK to save.
Modify an existing record#
- Find the record in the list.
- Click on its name then on Edit.
- Modify the necessary values.
- Click OK to save.
4️⃣ SRV configuration for Minecraft#
SRV records allow players to connect to your Minecraft server with just the domain name, without specifying the port.
SRV record format#
For a Minecraft server, the format is:
_minecraft._tcp.your-domain.com
Step-by-step configuration#
-
Add an SRV record:
- Type: SRV
- Name:
_minecraft._tcp
(or_minecraft._tcp.play
for a subdomain) - Value: Consists of 4 parts separated by spaces
-
SRV value structure:
priority weight port target-server
Concrete example:
0 0 25565 srv.your-domain.com
-
Parameter explanation:
- Priority:
0
(lower = higher priority) - Weight:
0
(for load balancing, generally 0) - Port:
25565
(your Minecraft server port) - Target server:
srv.your-domain.com
(subdomain pointing to your server)
- Priority:
Complete example#
For a Minecraft server on play.example.com:25575
:
-
A record for the server:
- Type: A
- Name:
srv
- Value:
192.168.1.100
(your server IP)
-
SRV record for simplified connection:
- Type: SRV
- Name:
_minecraft._tcp.play
- Value:
0 0 25575 srv.example.com
Result: Players can connect with play.example.com
instead of play.example.com:25575
.
5️⃣ Tips and best practices#
⏰ DNS propagation#
- DNS changes can take 1 to 24 hours to propagate worldwide.
- Use a shorter TTL (300-600 seconds) for testing or frequent changes.
- Recommended standard TTL: 3600 seconds (1 hour).
🔒 Security#
- Never delete default records without being sure of their purpose.
- Keep a backup of your DNS configuration before major changes.
- MX and NS records are critical for domain operation.
🔧 Verification#
- Use tools like
nslookup
ordig
to verify your changes:nslookup your-domain.com dig SRV _minecraft._tcp.your-domain.com
📝 Common records not to touch#
- NS records from LibraHost (ns1.librahost.fr, ns2.librahost.fr)
- SOA record (Start of Authority)
- MX records if you're using domain email
6️⃣ Troubleshooting#
Common problems#
- Record not found: Check syntax and wait for DNS propagation
- Minecraft SRV not working: Verify that the target server exists (A/AAAA record)
- Email no longer working: Check MX and TXT (SPF) records
Diagnostic tools#
- DNS Checker: Check worldwide propagation
- MXToolbox: Complete DNS tests
- Minecraft SRV Checker: Test Minecraft SRV records specifically
In case of persistent problems, contact LibraHost support with your configuration details.