Forum Discussion
cccu_werner
Altostratus
Apr 22, 2021Using RESOLVER::name_lookup to return an IP address for a FQDN
Hi. We are running 15.1 and we have a Virtual Server (webservice app) with an irule that only allows certain IP addresses making requests to it. One of our external service providers hav...
cccu_werner
Altostratus
Apr 23, 2021Hi Jason
Here is a section of the irule
when HTTP_REQUEST {
#work in progress section
set fqdn testing.test-url.com
set ips [RESOLVER::name_lookup "/Common/f5-aws-dns" $fqdn a]
log local0. "$fqdn IP address resolved to $ips"
set rs [RESOLVER::summarize $ips]
log local0. "which resolves to $rs"
}
Yes we have read through your article.
Many thanks
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