k8wiz
Cilium
Easy
Policies

Which field in a CiliumNetworkPolicy egress rule allows traffic to the IPs behind a domain name?

Select your answer:

Show answer and explanation

Answer: toFQDNs

Explanation

toFQDNs takes matchName or matchPattern entries, and Cilium fills in the matching IPs from the DNS answers its proxy sees. That keeps the policy correct when a provider's IPs change. toCIDRSet needs the IP ranges written out, and toEntities selects groups such as world or cluster.

Read more about Cilium