IP addresses for hostnames are now looked up using react/dns
Minor brace formatting changes