Command Reference Guide
252 ● ppp ipcp dns 3Com Router 5000 Family and Router 6000 Family
Command Reference
ppp ipcp dns
Purpose Use the ppp ipcp dns command to enable the router to allocate a DNS address to
the peer.
Use the undo ppp ipcp dns command to disable the router to allocate a DNS
server address to the peer.
Syntax ppp ipcp dns primary-dns-address [ secondary-dns-address ]
undo ppp ipcp dns primary-dns-address [ secondary-dns-address ]
Parameters primary-dns-address
Address of the primary DNS server.
secondary-dns-address
Address of the secondary DNS server.
Default By default, the router does not allocate DNS server addresses.
Example Configure the primary DNS address of the local Router as 100.1.1.1, and the
secondary DNS address as 100.1.1.2.
[3Com-Serial0/0/0] ppp ipcp dns 100.1.1.1 100.1.1.2
View This command can be used in the following views:
■ Interface view
Description The router can allocate DNS server addresses after being solicited to the devices
connected to it using PPP, PCs dialed to it for example, allowing these devices to
access the network using their domain names.
If you are connected to the router using a PC, you can execute the winipcfg
command or the ipconfig/all command to view the provided DNS server
address.
Related Commands ■ ppp authentication-mode
■ ppp ipcp dns admit-any
■ local-user