Accessing Usage Meter 9.0 Web Interface by FQDN redirects to IP address.
search cancel

Accessing Usage Meter 9.0 Web Interface by FQDN redirects to IP address.

book

Article ID: 411530

calendar_today

Updated On:

Products

VMware Usage Meter

Issue/Introduction

Usage Meter 9.0 is deployed or upgraded with all lowercase FQDN as its hostname. (e.g. xxxx.yyyy.zzzz)

When accessing to Web Interface by setting URL https://xxxx.yyyy.zzzz in a browser's address bar,
https://xxxx.yyyy.zzzz is redirected to https://<Usage Meter IP address> automatically.

 

Environment

vCloud Usage Meter 9.0

Cause

Usage Meter 9.0 does DNS reverse lookup by specifying IP address of a default network interface. 

   Note: The default network interface can be confirmed by executing "get-default-network-interface.sh"

If hostname and the DNS reverse lookup query is not same by case sensitive, FQDN to IP address redirection for Web Interface occurs. 

For example, if executing "dig -x <Usage Meter IP address>" inside the appliance:

 [email protected] [ ~ ]$ dig -x 192.168.0.10 
   :
 ;; ANSWER SECTION:
 10.0.168.192.in-addr.arpa.    86400   IN      PTR     XXXX.YYYY.ZZZZ.
   :

   Note: The IP address 192.168.0.10 is a sample of the output from the dig command."

 If hostname is defined all lower case, but PTR record returns FQDN which contains uppercase, then hits this behavior. 

Resolution

Redirecting FQDN to IP address for Usage Meter 9.0 Web Interface is no problem as long as you can login to Web Interface. 

This limitation was fixed by Usage Meter 9.0.1.x so that DNS PTR record for Usage Meter is converted to lowercase only before comparing with hostname.

Additional Information