using builtin hostname_for_host()
Merge pull request #54 from galstrom21/master

using builtin hostname_for_host()