Multi-level wildcard DNS matched by *.domain.com?

Solution 1:

Q1: yes. *.domain.com will match any domain above domain.com ex: a.domain.com a.a.domain.com a.a.a.domain.com etc.

Q2: This should work

If you want global pool of IP's

*.domain.com IN A 1.1.1.1

*.domain.com IN A 2.2.2.2

*.domain.com IN A 3.3.3.3

this is ok and will work (tested in djbdns)