使用IP地址查找服务器名称

时间:2019-01-07 12:15:42

标签: ibm-midrange

作业正在尝试连接到服务器。我可以看到作业尝试连接的IP地址。我想知道是否有任何命令基于as400中的IP地址来查找服务器名称?

1 个答案:

答案 0 :(得分:1)

您可以使用nslookup命令。 NSLOOKUP命令使您可以查询名称服务器以完成以下任务:

@Mappings({
        @Mapping(target = "status", ignore = true),
        @Mapping(target = "profile", source = "input.expertProfile"),
        @Mapping(target = "engagementId", expression = "java(new MapperHelper().ReturnExpertEngagementIdByApiKey(input,identity))"),
        @Mapping(target = "campaignId", expression = "java(new MapperHelper().ReturnExpertCampaignIdByApiKey(input,identity))"),

})
Expert ExpertJpaToExpert(com.consumer.expert.dbaccessor.entities.Expert input, Identity identity);

List<Expert> ListExpertsJpaToListExperts(List<com.consumer.expert.dbaccessor.entities.Expert> input, Identity identity);