nerdexam
CompTIA

LX0-104 · Question #369

Which of the following lines in the OpenVPN server.conf file will supply a DNS server for DHCP clients to use?

The correct answer is A. push "dhcpoption DNS 10.142.232.4". This question tests knowledge of OpenVPN server configuration directives used to push DNS server information to clients.

Networking Fundamentals

Question

Which of the following lines in the OpenVPN server.conf file will supply a DNS server for DHCP clients to use?

Options

  • Apush "dhcpoption DNS 10.142.232.4"
  • Bpush "dhcp DNS 10.142.232.4"
  • Cpush "options DNS 10.142.232.4"
  • Dpush "dhcpoptions DNS 10.142.232.4"

How the community answered

(32 responses)
  • A
    88% (28)
  • B
    3% (1)
  • C
    6% (2)
  • D
    3% (1)

Why each option

This question tests knowledge of OpenVPN server configuration directives used to push DNS server information to clients.

Apush "dhcpoption DNS 10.142.232.4"Correct

The `push "dhcp-option DNS <IP_ADDRESS>"` directive (where `dhcp-option` is often shortened to `dhcpoption` within the pushed string) is the standard OpenVPN configuration command used to send a DHCP DNS server option to connecting clients. This tells the client to use the specified IP address as its DNS server.

Bpush "dhcp DNS 10.142.232.4"

`dhcp DNS` is not the correct directive for pushing a DNS server option to OpenVPN clients.

Cpush "options DNS 10.142.232.4"

`options DNS` is not the correct directive for pushing a DNS server option to OpenVPN clients.

Dpush "dhcpoptions DNS 10.142.232.4"

`dhcpoptions` is not the correct directive; the correct form is `dhcp-option` (or `dhcpoption` when pushed).

Concept tested: OpenVPN DNS configuration push

Source: https://openvpn.net/community-resources/reference-manual-for-openvpn-2-x/#dhcp-option

Topics

#OpenVPN#server configuration#DNS#DHCP

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice