I need to read all A records in DNS domain using perl and Net::DNS, keep hitting walls

I’m working on a tool to generate SPF TXT records and I am trying to get a loop for scanning the domain for the relevant hosts A records. All I get is just a single entry when I supply the domain name as the domain to check. The other hosts in the domain don’t return entries…

Any ideas on how to do this?


Welcome to the ActiveState Community! Wrt your question, we tend to focus more on environment setup/configuration here rather than coding examples. You may have better luck posting your question to a community like StackOverflow.