I have a CNAME record like this:
*.a IN CNAME example.com.
So, any address that ends with .a.example.com
points to example.com
(like www.a.example.com
, x.y.z.a.example.com
, etc).
I add this CNAME record:
ex1.a IN CNAME example.net.
Then the address ex1.a.example.com
points to example.net
, while all other address that ends with .a.example.com
points to example.com
.
I add another CNAME record:
www.b.a IN CNAME example.org.
So www.b.a.mydom.com
points to example.org
.
But there is a problem:
any other request to resolution domain that ends with .b.a.example.com
is not solved. I can't understand.