Displaying And Maintaining Ipv4 Dns; Ipv4 Dns Configuration Examples; Static Domain Name Resolution Configuration Example - HP 5920 Series Configuration Manual

Hide thumbs Also See for 5920 Series:
Table of Contents

Advertisement

To configure the DNS trusted interface:
Step
1.
Enter system view.
2.
Specify the DNS trusted
interface.

Displaying and maintaining IPv4 DNS

Execute display commands in any view and reset commands in user view.
Task
Display the domain name resolution
table.
Display IPv4 DNS server information.
Display IPv6 DNS server information.
Display DNS suffixes.
Clear information about the dynamic
domain name cache.

IPv4 DNS configuration examples

Static domain name resolution configuration example

Network requirements
As shown in
rather than an IP address.
Configure static domain name resolution on the device so that the device can use the domain name
host.com to access the host whose IP address is 10.1.1.2.
Figure 32 Network diagram
Configuration procedure
# Configure a mapping between host name host.com and IP address 10.1.1.2.
<Sysname> system-view
[Sysname] ip host host.com 10.1.1.2
Command
system-view
dns trust-interface interface-type
interface-number
Figure
32, the device wants to access the host by using an easy-to-remember domain name
Command
display dns host [ ip | ipv6 ] [ vpn-instance vpn-instance-name ]
display dns server [ dynamic ] [ vpn-instance vpn-instance-name ]
display ipv6 dns server [ dynamic ] [ vpn-instance vpn-instance-name ]
display dns domain [ dynamic ] [ vpn-instance vpn-instance-name ]
reset dns host [ ip | ipv6 ] [ vpn-instance vpn-instance-name ]
81
Remarks
N/A
By default, no DNS trusted
interface is specified.
You can configure up to 128 DNS
trusted interfaces.

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents