Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

How to make Orchestrator appliance properly resolve its own hostname and IP address?

$
0
0

Hello.

 

Does anybody know how to make proper DNS resolution for Orchestrator appliance so it would resolve its own hostname (FQDN) and IP address according to DNS records?

 

The problem is with "System.resolveIpAddress()" and "System.resolveHostName()" methods.

 

The method "resolveIpAddress()" returns same IP if called with static IP address assigned to this appliance. And returns FQDN of host when called with 127.0.0.1.

So when I call "System.resolveIpAddress('192.168.1.50')" it returns '192.168.1.50' instead of FQDN.

When I call "System.resolveIpAddress('127.0.0.1')" it returns 'vco.local.lan'.

 

The method "resolveHostName()" returns 127.0.0.1 when called with either hostname or FQDN.

So when I call "System.resolveHostName('vco.local.lan')" or "System.resolveHostName('vco')" it returns 127.0.0.1 in both cases.

 

"nslookup" utility launched from the same appliance console works properly returning FQDN when entering IP, and returning proper IP (192.168.1.50) when entering FQDN.

 

Thank you.


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>