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
C
The answer is C usepeerdns
man ppdd(8)
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 addi‐
tion, pppd will create an /etc/ppp/resolv.conf file containing
one or two nameserver lines with the address(es) supplied by
the peer.
Please update
That should read pppd of course
joe and micha are right
If usepeerdns option is used, pppd will create the /etc/ppp/resolv.conf file with obtained DNS addresses while establishing a connection. By default, the /etc/ppp/ip-up.d/00_dns hook script moves this file to /etc/resolv.conf, allowing the system to use these name servers. If this is undesirable (e.g. you are using a local caching DNS), edit the /etc/ppp/ip-up.d/00_dns.sh as you need.