Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different Domain Whitelisting for Different Namespaces #38

Open
quentinkhoo opened this issue Aug 11, 2022 · 0 comments
Open

Different Domain Whitelisting for Different Namespaces #38

quentinkhoo opened this issue Aug 11, 2022 · 0 comments

Comments

@quentinkhoo
Copy link

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:
image

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

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant