# What is the purpose of Cilium's DNS-based policies?

Cilium, Medium (Advanced), Policies. https://k8wiz.com/uquiz/what-is-the-purpose-of-ciliums-dns-based-policies

- A. To control which DNS servers pods can use
- B. To filter traffic based on domain names rather than IP addresses
- C. To implement DNS-based service discovery
- D. To secure the Kubernetes DNS service

**Answer:** To filter traffic based on domain names rather than IP addresses

**Explanation:** Cilium's DNS-based policies allow you to filter traffic based on domain names rather than IP addresses. This means you can create policies that allow or deny access to specific domains (like 'example.com') regardless of their IP addresses, which can change over time. This is particularly useful for controlling access to external services.
