F5 Sites
  • F5.com
  • LearnF5
  • NGINX
  • MyF5
  • Partner Central
Contact
  • Under Attack?
  • F5 Support
  • DevCentral Support
  • F5 Sales
  • NGINX Sales
  • F5 Professional Services
Brand LogoSkip to content
Forums
CrowdSRC
Articles
Groups
EventsSuggestionsHow Do I...?
RegisterSign In
  1. DevCentral
  2. CrowdSRC
  3. CodeShare

HTTP Forward Proxy - v3.2

Problem this snippet solves: = This iRule will act as a forward proxy for HTTP requests. Set the virtual server that this iRule is connected to as the proxy server for your web browser. It can handl...
Published Mar 18, 2015
Version 1.0
application delivery
devops
iRules
utility
Adrian_Noblett_'s avatar
Adrian_Noblett_
Icon for Nimbostratus rankNimbostratus
Joined June 19, 2012
View Profile
Adrian_Noblett_'s avatar
Adrian_Noblett_
Icon for Nimbostratus rankNimbostratus
Joined June 19, 2012
View Profile
jba3126's avatar
jba3126
Icon for Cirrostratus rankCirrostratus
Jul 27, 2019

Sebastian,

 

You can set your LTM to resolve DNS and set the iRule to point local allowing you to set as many resolver(s) as you need.

 

System - Configuration - Device - DNS

DNS Lookup Server List - 127.0.0.1

BIND Forward Server List - local or external resolver(s)

DNS Search Domain List - Set for local domain lookups to resolve local host names.

 

In the iRule:

set static::dns "127.0.0.1"

 

/jeff

ABOUT DEVCENTRAL

DevCentral NewsTechnical ForumTechnical ArticlesTechnical CrowdSRCCommunity GuidelinesDevCentral EULAGet a Developer Lab LicenseBecome a DevCentral MVP

RESOURCES

Product DocumentationWhite PapersGlossaryCustomer StoriesWebinarsFree Online CoursesF5 CertificationLearnF5 Training

SUPPORT

Manage SubscriptionsProfessional ServicesProfessional ServicesCreate a Service RequestSoftware DownloadsSupport Portal

PARTNERS

Find a Reseller PartnerTechnology AlliancesBecome an F5 PartnerLogin to Partner Central

F5 logo©2024 F5, Inc. All rights reserved.
TrademarksPoliciesPrivacyCalifornia PrivacyDo Not Sell My Personal Information