PrepAway - Latest Free Exam Questions & Answers

4 Comments on “Which option is used to configure pppd to use up to two DNS server addresses provided by the remote server?

  1. Micha says:

    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




    0



    0
  2. Ektoras says:

    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.




    0



    0

Leave a Reply