Forum Discussion
FQDN resolve in non default domain name.
Hi,
Anyone can help to modify this irule using more than one DNS server (If this DNS server 8.8.8.8 down, it will pick up other the DNS server 9.9.9.9). Thanks for your help, i appreciate it.
when HTTP_REQUEST {
set ips [RESOLV::lookup @8.8.8.8 "FQDN.amazonaws.com"]
log local0. "example.com is currently at IP $ips, forwarding to node: [lindex $ips 0]%1 - The clients up address [IP::client_addr]"
node [lindex $ips 0]%1 443
}
- Hien_TruongCirrus
it works, i appreciate your input.
- zamroni777Nacreous
you can create dns/udp vserver then put 8.8.8.8 & etc. as the pool members.
then change the irules to use vip of above vserver.- Hien_TruongCirrus
This is good idea, i will modify and apply it to VS. Updated to follow. Thanks
Recent Discussions
Related Content
* 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