大网数据广告活动
网站运营与故障问答

Many DNS records after creating a subdomain in cPanel

· 52CE 我爱测

I am new to cPanel but I think I understand the basics of DNS and DNS zones enough. When I add a new subdomain in cPanel, like sub.example.com, via the subdomain screen, the following records appear automatically in the DNS Zone …

问题原文

原帖链接 · frezq · CC BY-SA 4.0

I am new to cPanel but I think I understand the basics of DNS and DNS zones enough.

When I add a new subdomain in cPanel, like sub.example.com, via the subdomain screen, the following records appear automatically in the DNS Zone Editor:

www.sub.example.com
webmail.sub.example.com
cpanel.sub.example.com
cpcontacts.sub.example.com

I don't need all these records the only one I want is the A records of sub.example.com and deleting them one by one is a nightmare. There's like maybe 30 records and I want to add several subdomains.

Is there a way to prevent these additional entries from being created or at least to delete multiple entries at the same time?

已采纳解答

原帖链接 · kkugelmann · CC BY-SA 4.0

In CPanel you have so called Zone Templates that define how newly created (sub)domains should look (in terms of added subdomains, TXT or MX entries etc.)

You can change the zone template following this documentation: https://documentation.cpanel.net/display/68Docs/Edit+Zone+Templates

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2019-01-30)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。