Repair gethostbyaddr mismatch when app's running under passenger