If you have many sub-domain names like xxx.example.com
, xyz.example.com
etc, you can solve these through server-side scripting or other means by using a wildcard A record for *.example.com in your DNS.
How can I determine whether a wildcard domain is configured for any given domain name? Using http://network-tools.com gives a lot of information, but doesn't reveal this. If I need to use commandline tools: I use Windows. One such example that uses a wildcard domain DNS, I think, is blogspot.com.
You can literally query "*.example.com" and find out if there is a wildcard, but it is impossible to tell the difference between these two zones:
and
i.e., you can't find out whether you're being answered by a wildcard for a given query, only that a wildcard exists.
I haven't found any Web-accessible looking glasses that support it yet, as they seem to think it's invalid input, but raw dig (or even nslookup on Windows) works like a charm:
Or with dig:
In response to BMDan's good answer: