0
votes

I have a domain with working sub-domains like,

valid-1.mysite.com
valid-2.mysite.com

And I would like to redirect all non-allocated sub-domains like,

something.mysite.com
abcdefghi.mysite.com

to my root domain(mysite.com).

Is there any way to implement using Wildcard DNS records?

1

1 Answers

0
votes

You can put in wildcard A and AAAA records that make all the non-explicitly-assigned names under mysite.com have the same IP addresses as mysite.com. This will not magically make a web server serving mysite.com know that it should also serve all those non-specified names.