Add the hostname into the exception message when doing dns lookups.