How to DNS resolve also subdomains to same host as the domain itself using wildcards?
This is how i usually do:


Add primary domain example.com
Add Machine Record example.com (inside domain example.com) with ip : 192.168.0.22
Add alias vhost1.example.com -> example.com
Add alias vhost2.example.com -> example.com


... etc
you can add other records as usual