How are DNS and NetBIOS server addresses configured on an AR

3

The AR can automatically assign the DNS server IP address allocated by a carrier, DNS domain name suffix, and NetBIOS server address to a DHCP client. Perform the following configurations:
- Interface-based
[Huawei] interface gigabitethernet 1/0/0
[Huawei-GigabitEthernet1/0/0] dhcp select interface
[Huawei-GigabitEthernet1/0/0] dhcp server import all //Enable the interface to automatically obtain the DNS and NetBIOS server addresses.
- Global mode
[Huawei] ip pool global
[Huawei-ip-pool-global] import all //Enable the AR to automatically obtain the DNS and NetBIOS server addresses in the global address pool.

Other related questions:
How to configure DNS information on the AR
When a DHCP client needs to communicate with another network device through the host name, the Domain Name System (DNS) needs to be deployed. DNS configuration modes: -Global address pool [Huawei] ip pool pool1 [Huawei-ip-pool-pool1] dns-list 10.1.1.2 //Statically specify the DNS server's IP address through a DHCP client. [Huawei-ip-pool-pool1] domain-name huawei.com //Configure the domain name suffix for the DHCP client. -Interface address pool: [Huawei] interface gigabitethernet 1/0/0 //Enter the view of the interface on the DHCP server connected to the client. [Huawei-GigabitEthernet1/0/0] undo portswitch //Switch to the Layer 3 interface. [Huawei-GigabitEthernet1/0/0] dhcp server dns-list 10.1.1.2 //Statically specify the DNS server's IP address for the DHCP client. [Huawei-GigabitEthernet1/0/0] dhcp server domain-name huawei.com //Configure the domain name suffix for the DHCP client. -DHCP Option This mode applies to the scenario where DHCP clients are assigned fixed IP addresses. -When the interface address pool is used, you need to configure the DHCP server based on the interface address pool. -For the global address pool mode and DHCP Option, you need to configure the DHCP server based on the global address pool.

Delete DNS parameters on S series switch
If an S series switch (except an S1700 switch) delivers the DNS server IP address to clients through DHCP, the DNS server IP address can be deleted using commands. For example, if the DNS server IP address 10.1.1.1/24 has been configured on a switch, you can delete it as follows: - If the original configuration is based on a global address pool: [Huawei] ip pool pool1 [Huawei-ip-pool-pool1] undo dns-list 10.1.1.1 //Delete the DNS server IP address. - If the original configuration is based on an interface address pool: [Huawei] interface vlanif 10 //Enter the view of the DHCP server interface connected to clients. [Huawei-Vlanif10] undo dhcp server dns-list 10.1.1.1 //Delete the DNS server IP address. - If the original configuration is based on a DHCP Option template: [Huawei] dhcp option template temp1 [Huawei-dhcp-option-template-temp1] undo dns-list 10.1.1.1 //Delete the DNS server IP address. Additionally, clients need to release their original IP addresses and apply for new IP addresses from the DHCP server.

Netbios parameter settings on S series switch
When S series switches (except S1700 switches) function as DHCP servers, they can deliver NetBIOS service parameters to clients through DHCP. The configuration process is as follows: - Interface address pool: [HUAWEI] interface vlanif 10 [HUAWEI-Vlanif10] ip address 10.10.10.1 24 [HUAWEI-Vlanif10] dhcp select interface [HUAWEI-Vlanif10] dhcp server nbns-list 10.10.1.1 //Configure the NetBIOS server address. [HUAWEI-Vlanif10] dhcp server netbios-type p-node //Configure the NetBIOS node type. - Global address pool: [HUAWEI] ip pool pool1 [HUAWEI-ip-pool-pool1] nbns-list 10.10.1.1 //Configure the NetBIOS server address. [HUAWEI-ip-pool-pool1] netbios-type p-node //Configure the NetBIOS node type. - Using a DHCP Option template: [HUAWEI] dhcp option template template1 [HUAWEI-dhcp-option-template-template1] nbns-list 10.10.1.1 //Configure the NetBIOS server address. [HUAWEI-dhcp-option-template-template1] netbios-type p-node //Configure the NetBIOS node type.

How to configure the AR router to obtain DNS address from the ISP provider?
The configuration of the AR router to obtain the DNS address from the ISP provider is as follows. [Huawei] interface dialer 0 [Huawei-Dialer0] PPP IPCP DNS admit-any //configure the router passively receive the address of the DNS server which was specified by other end [Huawei-Dialer0] PPP IPCP DNS request //router active request to end the specified DNS server address

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