Added DNS Lookup function -- workaround for Gainspan IP parsing.