Azure / AKS

Azure Kubernetes Service
https://azure.github.io/AKS/
1.97k stars 306 forks source link

Overriding the forward option in coredns configuration in AKS #3232

Open kiranmaiem opened 2 years ago

kiranmaiem commented 2 years ago

Describe scenario Our business use case mandates that for a given AKS cluster, we need to configure coredns forwarder to a custom DNS server.

Question As i read in the documentation, AKS coredns configuration can't be overridden even with custom config map for core-dns. Is there any other way than changing it on the vNet. We can't take vNet approach as the vNet is shared by various services.

andbaraks commented 2 years ago

Hello @kiranmaiem! Is this what you are looking for https://learn.microsoft.com/en-us/azure/aks/coredns-custom#custom-forward-server?

keisari-ch commented 2 years ago

@andbaraks Documentation points out how to append additionnal configuration with the coredns-custom config map. What @kiranmaiem is trying to do in my understanding is to override the current configuration of Corefile in coredns config map.

I m also looking for a way to add a policy to the forward plugin for ".:53" as were encountering a lot of problems with alpine based images regarding dns resolution.

mattmichal commented 2 years ago

I am looking for the same functionality. The default configuration helpfully directs requests to resolv.conf but I'd like to be able to specify policy as sequential instead of the default option of random.

ghost commented 1 year ago

Action required from @Azure/aks-pm

mattmichal commented 1 year ago

Related issue #2623 in which commenters were asking for similar kinds of functionality.

ghost commented 1 year ago

Issue needing attention of @Azure/aks-leads

ghost commented 1 year ago

Issue needing attention of @Azure/aks-leads

ghost commented 1 year ago

Issue needing attention of @Azure/aks-leads

ghost commented 1 year ago

Issue needing attention of @Azure/aks-leads

jeffhoye commented 1 year ago

The related ticket (#2623 ) was closed with an answer to use "cluster.local." , but it's insufficient for our setup where we require even external dns names to show up in coredns and have configured PowerDNS to properly provide those. Therefor that answer is insufficient and we need a way to set the forward param for "." (all domains).

ghost commented 1 year ago

Issue needing attention of @Azure/aks-leads

ghost commented 1 year ago

Issue needing attention of @Azure/aks-leads

ghost commented 1 year ago

Issue needing attention of @Azure/aks-leads

ghost commented 1 year ago

Issue needing attention of @Azure/aks-leads

ghost commented 1 year ago

Issue needing attention of @Azure/aks-leads

ghost commented 1 year ago

Issue needing attention of @Azure/aks-leads

ghost commented 1 year ago

Issue needing attention of @Azure/aks-leads

ghost commented 1 year ago

Issue needing attention of @Azure/aks-leads

ghost commented 1 year ago

Issue needing attention of @Azure/aks-leads

ghost commented 1 year ago

Issue needing attention of @Azure/aks-leads

esierra-stratio commented 1 year ago

Is there any progress with this request?

ghost commented 1 year ago

Issue needing attention of @Azure/aks-leads

mattmichal commented 9 months ago

Still interested. Please keep this issue open.

lennartack commented 8 months ago

For a hacky workaround see: https://github.com/Azure/AKS/issues/3661#issuecomment-1931883620

microsoft-github-policy-service[bot] commented 8 months ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 7 months ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 7 months ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 6 months ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 6 months ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 5 months ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 5 months ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 4 months ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 4 months ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 3 months ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 3 months ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 2 months ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 2 months ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 1 month ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 1 month ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 3 weeks ago

Issue needing attention of @Azure/aks-leads

microsoft-github-policy-service[bot] commented 1 week ago

Issue needing attention of @Azure/aks-leads