Method used to configure the DDNS clients on AR series routers

5

A Huawei AR (except for the AR 550) supports the DDNS client function. When the IP address mapping the domain name is changed, the DDNS client can notify the DNS server of updating the mapping between domain names and IP addresses on the DNS server to ensure that users can successfully access the servers on the network using domain names.
The AR used as the DDNS client supports update through DDNS (defined by RFC 2136) and the DDNS server.
DDNS update defined by RFC 2136: The AR used as the DDNS client directly updates the mapping between domain names and IP addresses on the DNS server. This function has been available since V200R005C10.
Update through the DDNS server: The AR used as the DDNS client sends the mapping between domain names and IP addresses to the DDNS server with the specified URL. Then the DDNS server notifies the DNS server of dynamically updating the mapping between domain names and IP addresses. The AR can connect to DDNS servers from DDNS service providers www.3322.org,www.dyndns.com, and www.oray.cn, Siemens DDNS server, and common DDNS servers that use HTTP.
There is no difference in the DDNS configuration between different models and versions of AR series routers. For details about the configuration process, see Configuration Guide - IP Service - DNS.

Other related questions:
Method used to configure DHCP client on the AR
The AR can function as a DHCP client to dynamically obtain configuration parameters such as an IP address from a DHCP server. This reduces the configuration costs and the errors and facilitates centralized management. Assume that RouterA functions as the DHCP client and RouterB as the DHCP server. The configuration is as follows: 1. Configure RouterA. [HUAWEI] dhcp enable //Enable the DHCP function. [HUAWEI] interface GigabitEthernet0/0/0 [HUAWEI-GigabitEthernet0/0/0] ip address dhcp-alloc //Enable the DHCP client on an interface. [HUAWEI-GigabitEthernet0/0/0] quit 2. Configure RouterB. [HUAWEI] dhcp enable //Enable the DHCP function. [HUAWEI] ip pool p1 [HUAWEI-ip-pool-p1] gateway-list 10.202.1.1 //Configure the gateway IP address. [HUAWEI-ip-pool-p1] network 10.202.1.0 mask 255.255.255.0 //Specify the range of IP addresses that can be dynamically allocated in the global address pool. [HUAWEI-ip-pool-p1] quit [HUAWEI] interface GigabitEthernet0/0/0 [HUAWEI-GigabitEthernet0/0/0] ip address 10.202.1.1 255.255.255.0 [HUAWEI-GigabitEthernet0/0/0] dhcp select global //Configure the global address pool mode. 3. Verify the configuration. Run the display ip interface brief command on RouterA to view the IP address that GE0/0/0 has obtained.

How to configure AR routers in branches to use a domain name to access the headquarters through DSVPN
In the figure on the right, the branch and headquarters access the Internet through PPPoE dialup, and the branch uses the domain name to access the headquarters through DSVPN. Assume that the public network route is reachable. The following describes only key configurations. 1. Configure Spoke1. The configuration of Spoke2 is similar to that of Spoke1, and is not mentioned here. interface Dialer1 //Configure a dialer interface. link-protocol ppp ppp chap user user@huawei.com //Configure CHAP authentication. ppp chap password cipher huawei@123 //Set the CHAP authentication password to huawei@123. ip address ppp-negotiate dialer user huawei //Configure the peer user name for the dialer interface. dialer bundle 1 //Configure a dialer bundle for the dialer interface. dialer-group 1 // Configure a dialer access group. # interface Tunnel0/0/0 //Configure a DSVPN tunnel interface. ip address 10.16.1.2 255.255.255.0 tunnel-protocol gre p2mp source dialer 1 //Configure the dialer interface as the source interface. ospf network-type broadcast nhrp entry 10.16.1.1 www.123.com register //Configure an NHRP mapping table. # interface GigabitEthernet1/0/0 pppoe-client dial-bundle-number 1 //Configure the PPPoE client to use dialer bundle 1. # dialer-rule //Configure a dialer ACL. dialer-rule 1 ip permit # ip route-static 0.0.0.0 0.0.0.0 dialer1 //Configure a default route pointing to the dialer interface. 2. Configure the hub. dns resolve //Enable the dynamic DNS (DDNS) function. dns server 2.1.1.1 //Configure an IP address for the DNS server. # interface Dialer1 link-protocol ppp ppp chap user user@huawei.com ppp chap password cipher huawei@123 ip address ppp-negotiate dialer user huawei dialer bundle 1 dialer-group 1 ddns apply policy mypolicy //Bind the DDNS policy to the interface. # ddns policy mypolicy //Specify the URL in a DDNS update request. The user name is steven and the password is nevets@123. url ""http://:@members.3322.org/dyndns/update?system=dyndns&hostname=&ip="" username steven password nevets@123 # interface Tunnel0/0/0 ip address 10.16.1.1 255.255.255.0 tunnel-protocol gre p2mp source dialer 1 ospf network-type broadcast nhrp entry multicast dynamic # interface GigabitEthernet1/0/0 pppoe-client dial-bundle-number 1 # dialer-rule dialer-rule 1 ip permit # ip route-static 0.0.0.0 0.0.0.0 dialer1

Method used to configure the public domain name for AR series routers
Huawei AR series routers support DNS client, DNS proxy or relay, and DDNS client, but do not support the DNS server. Public domain names need to be purchased and bound to the IP addresses on the DNS servers of carriers.

Method used to configure a DNS resolution policy on AR series routers
In V2R5C90 and V200R006C10, an Huawei AR supports the DNS resolution policy. That is, access control can be performed for some sites based on the domain name. The DNS resolution policy is supported only when the AR functions as the DNS proxy or relay agent. DNS resolution policy rules are configured using the rule rule-id [ if-match name hostname ] { deny | permit | spoofing ip-address } command. The domain name hostname can be parsed or not parsed, or a spoofing response is sent. rule-id specifies the DNS resolution rule ID. A smaller value indicates a higher priority of the rule. If the specified rule ID already exists, the new rule will overwrite the existing rule. The configuration procedure is as follows: [Huawei] dns proxy enable //Enable the DNS proxy function, or run the dns relay enable command to enable the DNS relay function. [Huawei] dns resolve //Enable dynamic domain name resolution. [Huawei] dns server 10.3.1.2 //Configure the IP address of the DNS server. [Huawei] dns resolve policy a //Enter the DNS resolution policy view. [Huawei-dns-resolve-policy-a] rule 0 if-match name www.huawei.com permit //Configure the rule to 0. If the domain name is www.huawei.com, parsing is allowed. [Huawei-dns-resolve-policy-a] rule 1 spoofing 192.168.1.1 //For other domain names, a spoofing response is sent with the response address of 192.168.1.1.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top