R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

117
View
VT interface view
Default level
2: System level
Parameters
None
Description
Use ppp ipcp dns admit-any to configure the firewall to accept the DNS server IP addresses assigned by
the peer even though it does not request the peer for the DNS server IP addresses.
Use undo ppp ipcp dns admit-any to configure the firewall to deny the DNS server IP addresses assigned
by the peer if it does not request the peer for the DNS server IP addresses.
By default, a device does not accept the DNS server IP addresses assigned by the peer if it does not
request the peer for the DNS server IP addresses.
You can configure a device to accept the DNS server IP addresses assigned by the peer, through which
domain names can be resolved for the device.
Examples
# Configure interface Virtual-Template 10 of the local device to accept the DNS server IP addresses
allocated by the peer.
<Sysname> system-view
[Sysname] interface Virtual-Template 10
[Sysname-Virtual-Template10] ppp ipcp dns admit-any
ppp ipcp dns request
Syntax
ppp ipcp dns request
undo ppp ipcp dns request
View
VT interface view
Default level
2: System level
Parameters
None
Description
Use ppp ipcp dns request to enable the firewall to request its peer for the DNS server IP address actively
through a port.
Use undo ppp ipcp dns request to restore the default.
By default, a device does not request its peer for the DNS server IP address actively.