# VirtualAddress -\> VirtualServer

**URL:** <https://community.f5.com/t/virtualaddress-virtualserver/39247>\
**Category:** Technical Forums\
**Tags:** icontrol, dev, devops\
**Created:** [May 29, 2009, 7:37pm UTC](https://community.f5.com/t/virtualaddress-virtualserver/39247 "2009-05-29T19:37:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Juanya\_Williams](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@Juanya\_Williams](https://community.f5.com/u/Juanya_Williams)\
**Post date:** [May 29, 2009, 7:37pm UTC](https://community.f5.com/t/virtualaddress-virtualserver/39247/1 "2009-05-29T19:37:52Z")

</div>

Hello, we have a scenario where we have the VIP information and need to be able to lookup the virtual server name. So far, we’ve only been able to find a way of getting the VirtualAddress to VirtualServer mapping by retrieving all virtual servers and then retreiving all the destinations for those virtual servers and then performing a linear search to find the VIP. We were wondering if there was a more direct way of performing this lookup because as the total number of virtual servers grow on the LB, this API call gets relatively slower each time.

---

<div class="post-metadata">

**Author:** ![Joe\_Pruitt](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/joe_pruitt/32/8438_2.png) [@Joe\_Pruitt](https://community.f5.com/u/Joe_Pruitt)\
**Post date:** [June 1, 2009, 11:31pm UTC](https://community.f5.com/t/virtualaddress-virtualserver/39247/2 "2009-06-01T23:31:41Z")

</div>

Unfortunately, we don’t have reverse lookup methods in the API for those objects that are represented by their user friendly names (although this would likely be a good addition). For now, you will likely have to do what you have been doing by enumerating through the destination addresses and doing a search.

-Joe
