HP MSR2000/3000/4000 Router Series Layer 3 - IP Services Command Reference

111
Usage guidelines
Use the ipv6 dns spoofing command together with the dns proxy enable command.
DNS spoofing enables the DNS proxy on the device to send a spoofed reply with an IPv6 address in
response to a type AAAA DNS request. Without DNS spoofing, the device does not forward or answer
a request if no DNS server is specified or no DNS server is reachable.
You can configure DNS spoofing for the public network and a maximum of 1024 VPNs, and specify only
one replied IPv6 address for the public network or each VPN.
If you use the command multiple times, the most recent configuration takes effect.
Examples
# Enable DNS spoofing on the public network and specify 2001::1 as the translated IPv6 address.
<Sysname> system-view
[Sysname] dns proxy enable
[Sysname] ipv6 dns spoofing 2001::1
Related commands
dns proxy enable
ipv6 host
Use ipv6 host to create a host name-to-IPv6 address mapping.
Use undo ipv6 host to remove a mapping.
Syntax
ipv6 host host-name ipv6-address [ vpn-instance vpn-instance-name ]
undo ipv6 host host-name ipv6-address [ vpn-instance vpn-instance-name ]
Default
No mappings are created.
Views
System view
Predefined user roles
network-admin
Parameters
host-name: Specifies a host name, a case-insensitive string of 1 to 253 characters. It can include letters,
digits, hyphens (-), underscores (_), and dots (.).
ipv6-address: Specifies the IPv6 address of the host.
vpn-instance vpn-instance-name: Specifies the name of an MPLS L3VPN instance, a case-sensitive string
of 1 to 31 characters. To create a host name-to-IPv6 address mapping on the public network, do not use
this option.
Usage guidelines
You can configure host name-to-IPv6 address mappings for the public network and up to 1024 VPNs,
and configure a maximum of 1024 host name-to-IPv6 address mappings for the public network or each
VPN.