Which option is used to configure pppd to use up to two DNS server addresses provided by the remote server?
A.
ms-dns
B.
nameserver
C.
usepeerdns
D.
dns
E.
None of the above
Which option is used to configure pppd to use up to two DNS server addresses provided by the remote server?
Which option is used to configure pppd to use up to two DNS server addresses provided by the remote server?
A.
ms-dns
B.
nameserver
C.
usepeerdns
D.
dns
E.
None of the above
man pppd
usepeerdns
Ask the peer for up to 2 DNS server addresses. The addresses supplied by the peer (if any) are passed to the /etc/ppp/ip-up script in the environment variables DNS1 and DNS2, and the environment variable USEPEERDNS will be set to 1. In addition, pppd will create an /etc/ppp/resolv.conf file containing one or two nameserver lines with the address(es) supplied by the peer.
Yes AndrewM – “usepeerdns” is the answer.
AndrewM suggestion is correct.
@Admin Please correct the answer
Regard
Harry Cutter
I agree with the answer.