Forum Discussion
uisomdc_95191
Nimbostratus
Aug 08, 2008qualifying node IP's to hostname
anyone know of a way to get this done inside the API? I'm going to need actual hostnames of my nodes displayed to people I'd like to avoid doing any nslookups within my code, but i can every hour an...
Aug 11, 2008
You can give user friendly names to NodeAddresses so you can easily accomplish the same thing by setting that property to the hostname of the node address. The problem is that this is only available in the NodeAddress interface, not the PoolMember.
If you don't want to do nslookups locally, you can always do them with the System.Inet interface's ip_to_hostname() method - that is, if you have DNS setup correctly on your BIG-IP and you have DNS entries for all of your nodes.
Here's a tech tip I wrote on the System.Inet interface:
http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=191
Click here
-Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
