VMware Cloud Community
CristiCalin
Contributor
Contributor
Jump to solution

DNS resolution inside a Forkflow

Hi,

I need to get the IP address associated with a host name.

I could not find anything resembling a dns lookup query in the standard workflows, does anyone have an example of how to do it ?

Thanks,
Cristian

0 Kudos
1 Solution

Accepted Solutions
robrtb12
Enthusiast
Enthusiast
Jump to solution


Hello,

Try System.resolveHostName(dnsHostName)

View solution in original post

0 Kudos
2 Replies
robrtb12
Enthusiast
Enthusiast
Jump to solution


Hello,

Try System.resolveHostName(dnsHostName)

0 Kudos
CristiCalin
Contributor
Contributor
Jump to solution

Thanks, I missed that in the System object.

A better browser/documentation for the API would be great in the Orchestrator Editor.

0 Kudos