Courseiva

NSE4 Practice Question: A FortiGate needs to resolve DNS names for outbound traffic

A FortiGate needs to resolve DNS names for outbound traffic. The administrator configures DNS servers under System > DNS. However, internal DNS queries for private domains fail. What additional configuration is required?

⚠ Common exam trap

Many candidates confuse the DNS proxy (which forwards queries) with the DNS database (which provides authoritative answers), leading them to select option D instead of A.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Create a DNS database entry for the private domain.

When a FortiGate is configured with DNS servers under System > DNS, it can resolve public DNS names for outbound traffic. However, for private domains (e.g., internal.company.local), the FortiGate cannot resolve these because they are not registered in public DNS. Creating a DNS database entry for the private domain allows the FortiGate to act as an authoritative DNS server for that domain, providing local resolution for internal queries.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    Create a DNS database entry for the private domain.

    Why this is correct

    Creating a DNS database entry on the FortiGate is the correct solution because it statically maps the private domain to an IP address in the FortiGate's local DNS database. This allows the FortiGate to resolve that FQDN locally for its own outbound traffic, even when the upstream DNS servers have no record for the private domain. You can define this under Network > DNS as a static entry, and it takes precedence over normal DNS lookups.

  • ✗

    Add a static route for DNS traffic.

    Why it's wrong here

    Adding a static route for DNS traffic only influences the network path that packets take toward a DNS server; it does not provide any name-to-address resolution. The FortiGate would still need to know the IP address of a valid DNS server, and even then, that server must actually have the record for the domain. A static route is a Layer 3 concern, while DNS resolution is an application-layer function, so this option cannot help resolve private domain names.

  • ✗

    Configure a DNS server on the WAN interface.

    Why it's wrong here

    Configuring a DNS server on the WAN interface means making the FortiGate listen for and answer DNS queries received on that interface, typically for internal clients. This does not configure the FortiGate's own resolver, and it does not add any private-domain records. The FortiGate would still use its configured system DNS servers to resolve names for its own outbound connections, so this option is unrelated to resolving private names for outbound traffic.

  • ✗

    Enable DNS proxy on the FortiGate.

    Why it's wrong here

    Enabling DNS proxy on the FortiGate is a feature that intercepts client DNS queries and forwards them to upstream DNS servers, optionally caching responses. It does not populate the FortiGate's own resolver with static entries for private domains, and the proxy still relies entirely on the configured upstream servers for any resolution. Since the private domain is not resolvable by those upstream servers, the DNS proxy would simply fail to resolve it for the FortiGate's own outbound traffic.

Visual reference

Client Recursive Resolver Root DNS (13 root servers) TLD DNS (.com, .org, …) Authoritative example.com query IP addr answer

About these practice questions

Courseiva writes every NSE4 question from scratch — 773 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

You might also like

Similar NSE4 questions

Written by Johnson Ajibi, MSc IT Security

Security Systems Architect · founder of Courseiva

This NSE4 practice question is part of Courseiva's free Fortinet certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the NSE4 exam.