USG6000 LNS allocating a DNS address to the client

The specific content of the DNS address allocated by the USG6000 LNS to the client is as follows:
HRP_Asys
HRP_A[USG6600]interface Virtual-Template 1
HRP_A[USG6600-Virtual-Template1]ppp ipcp dns 8.8.8.8
HRP_A[USG6600-Virtual-Template1]qu
HRP_A[USG6600]

Command introduction:
ppp ipcp dns

Command function:

The ppp ipcp dns command is used to configure the DNS server address.
The undo ppp ipcp dns command is used to restore the default configuration.
Command format:

ppp ipcp dns { primary-dns-address [ secondary-dns-address ] | admit-any | request }
undo ppp ipcp dns { primary-dns-address [ secondary-dns-address ] | admit-any | request }
Parameter description:
primary-dns-address specifies the address of the primary DNS server provided for the peer end. The value is in dotted decimal notation.
secondary-dns-address specifies the address of the secondary DNS server provided for the peer end. The value is in dotted decimal notation.
admit-any specifies any DNS server address provided for the peer end. -
request specifies the request sent to the peer end for the DNS server address -
View

Interface view
Default level:

2: Configuration level
Use guide:

By default, the DNS server address is not configured.
Example:

#Set the IP address of the primary DNS server obtained from the peer end to 10.2.0.70, and the IP address of the secondary DNS server to 10.2.0.71.
system-view
[sysname] interface Dialer 0
[sysname-Dialer0] ppp ipcp dns 10.2.0.70 10.2.0.71

Scroll to top