An hostname can now be specified, instead of only dealing with IPs.