Got it

Q&A: How Do I Configure Static Domain Name Resolution?

Latest reply: Aug 27, 2018 19:18:03 1788 2 0 0 0

Procedure
# Configure a static DNS entry to map domain name www.huawei.com to IP address 1.1.1.4.

<Huawei> system-view
[Huawei] ip host www.huawei.com 1.1.1.4 

More information
When an AR router acts as a DNS client, DNS proxy agent, or DNS relay agent, you can configure mappings between domain names and IP addresses to impalement static domain name resolution. The DNS client can then search for a domain namein the static DNS resolution table to obtain the mapping IP address directly. This improves the efficiency of domain name resolution. Static domain name resolution can be configured for commonly used domain names.

For details, see the AR Router Maintenance Guide document to obtain related information.

Step 1    Log in to Huawei enterprise technical support website: http://support.huawei.com/enterprise.
Step 2    Click Routers.



Step 3    Click the name of the product to be queried, for example, AR1200.

Step 4    Choose TroubleshootingMaintenance Bible to find the AR Router Maintenance Guide document.


Step 5    Open the AR Router Maintenance Guide. Choose FAQs > IP Service to obtain related information.

From group: Router This post was last edited by GatewayWhiz at 2018-07-19 08:08.
  • x
  • convention:

gululu
Created Jul 24, 2018 01:35:22

i can search it step by step,very good
View more
  • x
  • convention:

jonbov
Created Aug 27, 2018 19:18:03

The DNS proxy feature can be used on AR routers only, and are not supported on NE routers.
Below configuration should work on AR (but not on NE routers as 'dns resolve' are not supported)

dns resolve
dns server 8.8.8.8
#
dhcp
#
ip pool clients server
gateway 10.10.10.1 255.255.255.0
section 1 10.10.10.100 10.10.10.254
dns-server 10.10.10.1
#
ip host www.example.com 33.33.33.33
#
interface gigabitethernet 0/0/0
ip address 10.10.10.1 255.255.255.0
dhcp select global
This post was last edited by jonbov at 2018-08-27 19:21.
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.