DNS searching with wildcards?
You can get a full list of entries in a zone with a zone transfer; you’d need to allow this for authorized systems in your DNS server. Once that’s done, you can run the transfer and grep the result: dig axfr localdomain.com | grep -i miller