Use the right field when resolving an ip vs a hostname
Merge pull request #69 from esteigler/patch-1

Use the right field when resolving an ip vs a hostname