< Home

ppp ipcp dns

Function

The ppp ipcp dns command configures the IP address of a DNS server.

The undo ppp ipcp dns command restores the default setting.

Format

ppp ipcp dns { admit-any | request }

undo ppp ipcp dns { admit-any | request }

Parameters

Parameter Description Value
admit-any Accepts any DNS addresses required by the peer. -
request Requests the peer end for the IP address of the DNS server. -

Views

VT interface view, Dialer interface view

Default Level

2: Configuration level

Usage Guidelines

By default, the IP address of the DNS server is not configured.

Example

# Accepts any DNS addresses required by the peer.

<sysname> system-view
[sysname] interface Dialer 0
[sysname-Dialer0] ppp ipcp dns admit-any
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >