System.resolveIpAddress not functioning as expected, returns IP when resolve failed instead of throwing an exception
search cancel

System.resolveIpAddress not functioning as expected, returns IP when resolve failed instead of throwing an exception

book

Article ID: 453046

calendar_today

Updated On:

Products

VCF Automation

Issue/Introduction

In Aria Orchestrator "System.resolveIpAddress" function in Orchestrator should throw error if the supplied address cannot be resolved.
As per description for this code - "ResolveIpAddress
Returns the host name given an IP Address (in standard dotted notation, for example "127.0.0.1"), using a DNS lookup. DNS must be configured on the Automation Orchestrator server. Failure to lookup the hostname, or badly formatted IP addresses will throw an exception"

Environment

Aria Orchestrator 8.18.1

Resolution

This is not a functional defect, and requires a documentation change. The documentation will describe the actual behavior: that resolveIpAddress throws only for malformed or genuinely unresolvable addresses, and returns the input IP address unchanged when the address is valid but has no reverse-DNS record.

This is being tracked by engineering team and will be updated.