Create a new dns template to apply to your domains
Here is an example of a new DNS template that you can apply to your domains:
Template Name: "Basic Website Template"
Template Description: A basic DNS template for a website with a single domain and a few common services.
Template Settings:
- Domain:
<yourdomain.com>
- Nameservers:
ns1.yourdomain.com
andns2.yourdomain.com
- Mail Server:
mail.yourdomain.com
- Web Server:
www.yourdomain.com
- Subdomains:
blog.yourdomain.com
(points towww.yourdomain.com
)store.yourdomain.com
(points towww.yourdomain.com
)
- DNS Records:
A
record forwww.yourdomain.com
pointing to192.0.2.1
A
record formail.yourdomain.com
pointing to192.0.2.2
MX
record foryourdomain.com
pointing tomail.yourdomain.com
TXT
record foryourdomain.com
with value"v=spf1 a mx ~all"
CNAME
record forblog.yourdomain.com
pointing towww.yourdomain.com
CNAME
record forstore.yourdomain.com
pointing towww.yourdomain.com
Template Code:
; yourdomain.com
@ IN SOA ns1.yourdomain.com. hostmaster.yourdomain.com. (
3600 ; refresh
3600 ; retry
604800 ; expire
3600 ) ; minimum
@ IN NS ns1.yourdomain.com.
@ IN NS ns2.yourdomain.com.
www IN A 192.0.2.1
mail IN A 192.0.2.2
blog IN CNAME www.yourdomain.com.
store IN CNAME www.yourdomain.com.
yourdomain.com. IN MX 10 mail.yourdomain.com.
yourdomain.com. IN TXT "v=spf1 a mx ~all"
How to Apply the Template:
- Create a new DNS zone in your DNS provider's control panel.
- Copy and paste the template code into the DNS zone editor.
- Replace
<yourdomain.com>
with your actual domain name. - Update the IP addresses and other settings as needed.
- Save the changes to the DNS zone.
Note: This is just an example template and you should adjust it according to your specific needs and requirements. Additionally, you may need to add or modify records depending on the services you use (e.g. email, web hosting, etc.).