Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

F5 BIG IP DNS - 2 DNS listeners (private and public)

Boban
Nimbostratus
Nimbostratus

Hi all,

I have new challenge to configure second DNS listener(public IP) on the same F5 BIG IP DNS(cluster-active/standby). Now I have only 1 DNS listener (Private IP).

 

So the configuration question: When DNS request come to private DNS listener for NOT mydomain.com first it checks iRule (NOT mydomain, check below iRule) and it should forward DNS request to public DNS Listener IP 77.77.77.198 which should check zones under Zone runner and return answer or Forward/hint zone. Also in a case of forward/hint zones source IP should be DNS listener public IP to my def. getaway IP.

 

Also on private DNS listener only GSLB is enabled on the DNS profile so that can hit wideIP for mydomain.com.

If you have idea how this can be configured on the same F5 BIG IP DNS(active/standby) please let me know

 

iRule on DNS listener-private:

when DNS_REQUEST {

set type [DNS::question type]

if {$type equals "A" } 

{

  set host [DNS::question name]

  if { !($host contains "mydomain.com") or !($host contains "MYDOMAIN.COM")

  }

     {

    node 77.0.0.1

  }

}

0 REPLIES 0