Forum Discussion
Drew_Berendts_2
Altostratus
Feb 13, 2006DNS Virtual Server Pool Redirection
I am looking for a bit of sample code that will allow me parse an incoming client DNS query (running UDP/53 virtual server on BigIP 9.x) and then redirect the incoming query to one pool or another based on the hostname that is being queried. I have looked through the iRules 9.x forums and I have seen a couple ways of redirecting traffic to one pool or another, but I have yet to find a bit of sample code that allows one to parse an incoming UDP/53 client DNS query. Thank you much to any one for any feedback on this matter.
Regards,
Drew B.
- Colin_Walker_12Historic F5 AccountI'm not sure I know of any sample code that does exactly that. Basically, though, what you'd be looking to do is parse the UDP packet coming through the BIG-IP and search for a given string, then perform whatever actions you'd like based on that search result.
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