Get hostname and if address