Avoid reverse DNS lookup with getLocalHost().getHostName();

Description

Pull request https://github.com/liquibase/liquibase/pull/207

The previous code would always trigger a reverse DNS lookup. If the
workstation/server is not configured with a valid DNS name, the reverse
DNS lookup would timeout. This would cause liquibase to hang for 10-15
seconds on some systems. This behaviour was noticed on Linux systems.

Environment

All

Status

Reporter

Nathan Voxland

Fix versions

Affects versions

Priority

Major
Configure