Fix pattern for hostname to match IP addresses
Merge pull request #3 from blueyed/fix-ip-as-host

Fix pattern for hostname to match IP addresses