Web example: Configuring DDNS

Network configuration

As shown in Figure 1, the device is a Web server with domain name whatever.3322.org and uses an IP address dynamically obtained through DHCP. To make sure the device can always provide Web services at whatever.3322.org when its IP address changes, perform the following tasks on the device:

Figure 1 Network diagram

 

Software versions used

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

Restrictions and guidelines

Before configuring DDNS on the device, perform the following tasks:

Procedure

1.        Configure security policy ddns-a.

# On the top navigation bar, click Policies.

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

# Click Create and click Create a policy.

# In the dialog box that opens, configure policy parameters as follows:

  1. Specify the policy name. In this example, the name is ddns-a.

  1. Select the source zone. In this example, the source zone is Local.

  1. Select the destination zone. In this example, the destination zone is Untrust.

  1. Select IPv4 as the type.

  1. Select Permit as the action.

  1. Click OK.

2.        Configure security policy ddns-b.

# On the top navigation bar, click Policies.

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

# Click Create and click Create a policy.

# In the dialog box that opens, configure policy parameters as follows:

  1. Specify the policy name. In this example, the name is ddns-b.

  1. Select the source zone. In this example, the source zone is Untrust.

  1. Select the destination zone. In this example, the destination zone is Local.

  1. Select IPv4 as the type.

  1. Select Permit as the action.

  1. Click OK.

3.        Specify the IP address of the DNS server.

# On the top navigation bar, click Network.

# From the navigation pane, select DNS > DNS Client.

# Add the IP address of the DNS server, as shown in Figure 2.

Figure 2 Specifying the DNS server

 

4.        Configure a DDNS policy.

# From the navigation pane, select DNS > DDNS Policies.

# Click Create.

# In the dialog box that opens, create a DDNS policy, as shown in Figure 3.

Figure 3 Creating a DDNS policy

 

# Click OK.

Verifying the configuration

Verify that the device can update its domain name-IP mapping through the DDNS provider www.3322.org when its IP address changes. The Internet users can resolve the correct IP address through the domain name whatever.3322.org to access the Web service.