BIG-IP, Creating NODE

I want to create a node using Host name instead of IP address

------------

LocalTrafic → Nodes → new Node,

General properties

→ Address

→ Name

------------

So, according to the documentation, Address has to be the IP address of a machine. But Instead of IP address I want to create a node using the Host Name.

There has to be a way to do this, otherwise when ever I change the network settings, I have to configure the F5 machine again. But if its configured using Machine Names (Host names on which servers are running), I will not have to reconfigure the F5 machine itself.

Thanks,

- Pardeep

Can I write a iRule, like

If (request){

getIp of next Pool Member.

Change IP:port to its Host Name:port

Send request to Host Name:port

}

If (response from server) {

Change Host Name to IP

I know this IP and request object from client.

Send the response to the right client.

}

While doing this session should be maintained.

I am stuck in this from quite a while, I will appreciate if someone has a solution to get around this scenario.

Thanks,