You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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 querygoogle.com
and pods in thekube-system
namespace to queryfacebook.com
:However, it seems like the configuration is wrong and from within the

kube-system
, I can querygoogle.com
, instead offacebook.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!
The text was updated successfully, but these errors were encountered: