Added packetloss and fixed hostname resolve