FQDN nodes in non-default route domains
Problem this snippet solves: Currently there is no support for FQDN nodes in non-default route domains as per Article. With recent increase in cloud deployment, most of the time there is a requireme...
Updated Jun 28, 2024
Version 2.0spalande
Nacreous
Joined October 18, 2012
spalande
Nacreous
Joined October 18, 2012
Manu_Nair
Cirrus
Thanks for this. i am not an irule expert, but i am trying to understand the code.
set host [RESOLV::lookup @dns_53 "server.example.com"] -> So you are resolving the FQDN
set ip [getfield $host " " 1] -> Extracting the hostname
node [lindex $ip 0]% -> I couldn get this one though!!, what it does.
spalande
Jun 28, 2024Nacreous
There was a typo. Please check the correction above. It basically send the connection to node adding required route domain and port