Add in check for internal/external IP addresses.
Merge pull request #279 from programsam/internal-external-ips

Add in check for internal/external IP addresses.