Overview
This article details the steps to manage, edit, and modify DNS records for a domain in Plesk. It covers the types of DNS records available and provides best practices for effective management.
Pre-requirements
- Access to a Plesk server with administrative privileges.
- Basic understanding of DNS concepts and record types (A, AAAA, NS, CNAME, MX, PTR, TXT, DS, AXFR, SRV).
- Familiarity with using the command line interface (CLI) for Linux.
Steps to Manage DNS Records for a Plesk Domain
- Log into Plesk:
Access your Plesk control panel by entering your credentials.
- Navigate to DNS Settings:
Go to Domains -> example.com -> Hosting & DNS -> DNS.
- Select the Record to Edit:
Press on the name of the record in the Host column that you wish to modify.
- Make Necessary Changes:
Adjust all required fields as necessary for the selected DNS record type.
- Apply Your Changes:
Press Apply to save your modifications.
- Publish Changes:
Return to the DNS records section and press the Update button to publish all changes made to the DNS records for this domain.
Linux Commands for DNS Record Management
# Access the Plesk instance via SSH
ssh user@your-server-ip
# List current DNS records for a domain
plesk bin dns -l example.com
# Add or edit DNS records
plesk bin dns -a example.com A 192.0.2.1
plesk bin dns -m example.com CNAME www.example.com
# Update DNS records
plesk bin dns -u example.com
Gotchas to Avoid
- Incorrect Record Types: Ensure you are editing the correct record type. Each type serves a unique purpose.
- Propagation Delays: Be aware that changes may take time to propagate across the DNS system.
- Backup Records: Always back up your DNS settings before making significant changes to avoid data loss.
- TTL Settings: When making changes, consider the Time-To-Live (TTL) settings to minimize disruption.
This guide provides a comprehensive approach to managing DNS records for a domain in Plesk. By following these steps and best practices, you can ensure effective DNS management and avoid common pitfalls.