Update Main.py check for private IP addresses

Add check in main.py for the existence of private ip addresses in dns
lookup.