How to get all hosts from DNS
dig AXFR your-domain.com @your.dns.server.com Example output: a.your-domain.com. 38400 IN A 128.123.123.123 b.your-domain.com. 38400 IN A 128.123.123.123 c.your-domain.com. 38400 IN A 167.128.123.123 Your IP Address must be included in Allow transfers from..