• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved needed help with dns

Qusay

Basic Pleskian
Hello
i want make default dns for all domains
like
prime
metrogaming.net
ns1.metrogaming.net
ns2.metrogaming.net

secoend for all domain
example
example.com
ns1.metrogaming.net
ns2.metrogaming.net

example2.com
ns1.metrogaming.net
ns2.metrogaming.net
 
The nameservers of a domain need to be entered into the domain dataset at your domain registrar, not in Plesk.
 
But if i add new account with new domain
they set for dns for new domain not for original
 
You need to talk to your domain registrar on setting default nameservers for new domains. Nameservers are entered into the domain dataset. That is different from editing the content of nameserver records. In Plesk you can edit content of nameserver records, and these contents wills be used if your Plesk server is the entered as the nameserver at your registrar's domain nameserver records of the domain. But what your registrar sets up as nameservers when you book a new domain there is up to your registrar, not Plesk.
 
To make a default DNS for all domains, you can create a template zone file that includes the DNS records you want to use for each domain. Then, you can use a scripting language or a DNS management tool to automatically generate the zone files for each new domain.

$TTL 86400
@ IN SOA ns1.metrogaming.net. root.metrogaming.net. (
2022041001 ; Serial
3600 ; Refresh
1800 ; Retry
604800 ; Expire
86400 ; Minimum TTL
)

NS ns1.metrogaming.net.
NS ns2.metrogaming.net.

prime A 192.0.2.1

; Add additional DNS records for your specific domains here
 
Back
Top