-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Hey all, as the title suggests I'm looking to do some DNS firewalling and I'm trying to see if it's possible to whitelist different domains for different namespaces. So far I've come up with the following Corefile configuration for the configmap as shown below, I'm trying to allow pods in the default namespace to query google.com and pods in the kube-system namespace to query facebook.com:

However, it seems like the configuration is wrong and from within the kube-system, I can query google.com, instead of facebook.com.

Could I seek some advice on what I'm potentially configuring wrongly over here? Or am I misunderstanding how I should be writing the Corefile. Thank you in advanced!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels