R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101
167
To do… Use the command…
Remarks
Specify a DNS
server
System view dns server ip-address
Required
Not specified by default.
Interface view
interface interface-type
interface-number
dns server ip-address
quit
Configure a DNS suffix dns domain domain-name
Optional
Not configured by default. Only the
provided domain name is resolved.
NOTE:
• A DNS server configured in system view has a higher priority than one configured in interface view.
A
DNS server configured earlier has a higher priority than one configured later in the same view. A DNS
server manually configured has a higher priority than one dynamically obtained through DHCP. A
name query request is first sent to the DNS server that has the highest priority. If no reply is received, i
t
is sent to the DNS server that has the second highest priority, and thus in turn.
• You can specify up to ten DNS suffixes.
Configuring the DNS proxy
Follow these steps to configure the DNS proxy:
To do… Use the command…
Remarks
Enter system view system-view —
Enable DNS proxy dns proxy enable
Required
Disabled by default.
Specify a DNS
server
System view dns server ip-address Required
Configure the DNS server in at least
one view.
No DNS server is specified by
default.
Interface view
interface interface-type
interface-number
dns server ip-address
NOTE:
You can specify multiple DNS servers by using the dns server command repeatedly. Upon receiving a
name query request from a client, the DNS proxy forwards the request to the DNS server that has the
highest priority. If having not received a reply, it forwards to the request to a DNS server that has the
second highest priority, and thus in turn.
Displaying and maintaining IPv4 DNS
To do… Use the command…
Remarks
Enter system view system-view —
Display the static IPv4 domain
name resolution table
display ip host Available in any view