Question
Is a wildcard CNAME DNS record valid?
Hello,
I have four subdomains. First two subdomains are set with wildcard .static.MYSITE.com and .v2.MYSITE.COM Another two subdomains are set without wildcard test.z3lab.info, cms.z3lab.info
Which subdomains are more correct, and why do we use wildcard?
This is my zone file
$ORIGIN z3lab.info.
$TTL 1800
z3lab.info. IN SOA ns1.digitalocean.com. hostmaster.z3lab.info. 1472229537 10800 3600 604800 1800
z3lab.info. 1800 IN NS ns1.digitalocean.com.
z3lab.info. 1800 IN NS ns2.digitalocean.com.
z3lab.info. 1800 IN NS ns3.digitalocean.com.
z3lab.info. 1800 IN A 46.101.197.231
*.static.z3lab.info. 1800 IN CNAME z3lab.info.
*.v2.z3lab.info. 1800 IN CNAME z3lab.info.
test.z3lab.info. 1800 IN CNAME z3lab.info.
cms.z3lab.info. 1800 IN CNAME z3lab.info.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×