R21xx-HP FlexFabric 11900 Layer 3 IP Services Command Reference
111
On the public network or a VPN, each host name maps to only one IPv4 address. If you use the
command multiple times, the most recent configuration takes effect.
Examples
# Map the IPv4 address 10.110.0.1 to the host name aaa on the public network.
<Sysname> system-view
[Sysname] ip host aaa 10.110.0.1
Related commands
display dns host
ipv6 dns server
Use ipv6 dns server to specify a DNS server IPv6 address.
Use undo ipv6 dns server to remove the specified DNS server IPv6 address. If no IPv6 address is
specified, the undo ipv6 dns server command removes all DNS server IPv6 addresses on the public
network or the specified VPN.
Syntax
ipv6 dns server ipv6-address [ interface-type interface-number ] [ vpn-instance vpn-instance-name ]
undo ipv6 dns server [ ipv6-address [ interface-type interface-number ] ] [ vpn-instance
vpn-instance-name ]
Default
No DNS server IPv6 address is specified.
Views
System view
Predefined user roles
network-admin
Parameters
ipv6-address: Specifies the IPv6 address of a DNS server.
interface-type interface-number: Specifies the output interface by its type and number. If no interface is
specified, the device forwards DNS packets out of the output interface of the matching route. You must
specify the output interface when the IPv6 address of the DNS server is a link-local address.
vpn-instance vpn-instance-name: Specifies the name of an MPLS L3VPN, a case -sensitive string of 1 to 31
characters. To specify a DNS server IPv6 address on the public network, do not use this option.
Usage guidelines
For dynamic DNS, the device sends DNS query request to the IPv6 DNS servers in the order their IPv6
addresses are specified.
You can specify DNS server IPv6 addresses for the public network and up to 1024 VPNs, and specify a
maximum of six DNS server IPv6 addresses for the public network or each VPN.










