Take it like a gift
Headless Burp
Provides a suite of extensions and a maven plugin to automate security tests using Burp Suite.
hakfindinternaldomains
Feed it a list of subdomains, it will resolve them and tell you which ones are internal.