Web example: Configuring transparent DNS proxy

Network configuration

As shown in Figure 1, ISP 1 and ISP 2 provide two links with the same bandwidth to an enterprise: Link 1 and Link 2. The DNS server IP address of ISP 1 is 10.1.2.100. The DNS server IP address of ISP 2 is 20.1.2.100. Intranet users use domain name www.example.com to access Web server A and Web server B.

Configure a transparent DNS proxy on the device to evenly distribute user traffic to Link 1 and Link 2.

Figure 1 Network diagram

 

Software versions used

This configuration example was created and verified on E8371 of the F5000-AI160 device.

Procedures

  1. Assign IP addresses to interfaces and add the interfaces to security zones.

# On the top navigation bar, click the Network tab.

# From the navigation pane, select Interface Configuration > Interfaces.

# Click the Edit icon for GE 1/0/1.

# In the dialog box that opens, configure the interface:

# Add GE 1/0/2 to the Untrust security zone and set its IP address to 10.1.1.1/24 in the same way you configure GE 1/0/1.

# Add GE 1/0/3 to the Untrust security zone and set its IP address to 20.1.1.1/24 in the same way you configure GE 1/0/1.

  1. Configure security policies.

# On the top navigation bar, click Policies.

# From the navigation pane, select Security Policies > Security Policies.

# Click Create.

# In the dialog box that opens, configure a security policy named Trust-to-Untrust:

# Configure a security policy named Local-to-Untrust:

  1. Configure an ICMP probe template.

# On the top navigation bar, click Objects.

# From the navigation pane, click Health Monitoring.

# Click Create.

# In the dialog box that opens, configure an ICMP probe template:

Figure 2 Creating an ICMP probe template

 

  1. Configure links.

# On the top navigation bar, click Objects.

# From the navigation pane, select Load Balancing > Links.

# Click Create.

# In the dialog box that opens, configure a link named link1:

Figure 3 Creating link link1

 

# Configure link link2 in the same way you configure link link1.

Figure 4 Creating link link2

 

  1. Configure DNS servers.

# On the top navigation bar, click Polices.

# From the navigation pane, select Link Load Balancing > DNS Proxy.

# On the DNS Server tab, click Create.

# In the dialog box that opens, configure a DNS server named dns_a:

Figure 5 Creating DNS server dns_a

 

# Configure DNS server dns_b in the same way you configure DNS server dns_a.

Figure 6 Creating DNS server dns_b

 

  1. Configure a DNS server pool.

# On the top navigation bar, click Polices.

# From the navigation pane, select Link Load Balancing > DNS Proxy.

# On the DNS Server Pool tab, click Create.

# In the dialog box that opens, configure a DNS server pool named dsp:

Figure 7 Creating DNS server pool dsp

 

  1. Configure IPv4 routing policies.

# On the top navigation bar, click Polices.

# From the navigation pane, select Link Load Balancing > DNS Proxy.

# In the Common configuration area on the IPv4 Routing Policy tab, select the Transparent DNS proxy option and click Apply.

Figure 8 Common configuration

 

# In the Policy area on the IPv4 Routing Policy tab, click the Edit icon for the default IPv4 routing policy named Default.

# In the dialog box that opens, configure the default IPv4 routing policy:

Figure 9 Editing the default IPv4 routing policy

 

Verifying the configuration

Access http://www.example.com through the browser on the host, and verify that the device distributes the DNS requests to DNS servers dns_a and dns_b.

  1. View the DNS Server Statistics page.

# On the top navigation bar, click the Monitor tab.

# From the navigation pane, select Statistics > DNS Proxy Statistics > DNS Servers.

The DNS Server Statistics page is as follows:

Figure 10 DNS server statistics

 

  1. View the DNS Server Pool Statistics page.

# From the navigation pane, select Statistics > DNS Proxy Statistics > DNS Server Pools.

The DNS Server Pool Statistics page is as follows:

Figure 11 DNS server pool statistics