CÔNG TY TNHH CÔNG NGHỆ VIỆT THÁI DƯƠNG
Logo CNTTShop.vn

NTT03, Line 1, Thống Nhất Complex, Thanh Xuân, Hà Nội.
Danh mục sản phẩm

Configure the DNS Client Function

Configuration Condition

None

Configure Static Domain Name Resolution

In configuring static domain name resolution, you can configure a domain names to map the IPv4 address and IPv6 address.

Table 4-3 Configuring Static Domain Name Resolution

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Configure the corresponding IPv4 address of the static domain name

ip host [ vrf vrf-name ] domain-name ip-address

Mandatory

By default, do not configure the corresponding IPv4 address of the domain name.

Configure the corresponding IPv6 address of the static domain name

ipv6 host [ vrf vrf-name ] domain-name ipv6-address

Mandatory

By default, do not configure the corresponding IPv6 address of the domain name.

Configure Dynamic Domain Name Resolution

In configuring dynamic domain name resolution, you need to configure the IP address of a domain name server. Then, domain resolution requests can be sent to the proper domain server for resolution.

Users can pre-configure a domain suffix. Then, when the users use a domain name, they can input only part fields of the domain name, and the system automatically adds pre-configured domain suffix for resolution.

Table 4-4 Configuring Dynamic Domain Name Resolution

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Configure a domain suffix.

ip domain-name [ vrf vrf-name ] domain-name

Mandatory.

By default, no domain suffix is configured.

Configure a DNS server address.

ip name-server [ vrf vrf-name ] ip-address

Mandatory.

By default, the DNS server address is not configured.

Configure domain name resolution order.

ip name-order { dns-first | dns-only | local-first }

Optional.

By default, the system resolution order is local-first.