* is being taken literally?
something.*.example.com would never be a valid wildcard in any DNS system. A wildcard needs to be the leftmost part of the record:
something
*.*.curl -k to the rescue!# Works
dig 'test.*.test2.aimoda.dev' @1.1.1.1 TXT
# Fails
dig test.what.test2.aimoda.dev @1.1.1.1 TXTsomething.*.example.comsomething*.*.curl -k