Palo Alto Networks Certified Network Security Engineer (PCNSE) — Question 604

A firewall engineer creates a NAT rule to translate IP address 1.1.1.10 to 192.168.1.10. The engineer also plans to enable DNS rewrite so that the firewall rewrites the IPv4 address in a DNS response based on the original destination IP address and translated destination IP address configured for the rule. The engineer wants the firewall to rewrite a DNS response of 1.1.1.10 to 192.168.1.10.

What should the engineer do to complete the configuration?

Answer options

Correct answer: A

Explanation

The correct answer is A because enabling DNS rewrite with the direction Forward allows the firewall to modify the DNS response as intended. Options B and D are incorrect because U-Turn NAT is not necessary for this scenario, and option C is wrong as it uses the direction Reverse, which does not fit the requirement of rewriting the DNS response from the original IP to the translated IP.