hostname determination tested and seems to be working properly.
Needs further testing with something other than local address.