Hi, On 05.03.21 13:57, Arunkumar wrote:
Hi,
> Is it possible to leverage DNSMASQ at openshift node to cache DNS entries? > I am using Openshift 4.5, my understanding is DNSMASQ is present by default in > every node in the cluster. Please add your thoughts on caching DNS entries in > openshift node/pod level. This is to improve performance and also offload the > coredns. Is there something like kubernetes nodelocaldns available?
Well due to the fact that OpenShift 4 was completely redesigned is the dnsmasq not anymore part of OpenShift 4. How the DNS Operator works is described in the README.md https://github.com/openshift/cluster-dns-operator You can see the Corefile config here. https://github.com/openshift/cluster-dns-operator/blob/master/pkg/operator/controller/controller_dns_configmap.go Here is documented how the DNS Operator can be configured. https://docs.okd.io/latest/networking/dns-operator.html There is a cache plugin for coredns but it's not yet configurable in OpenShift. https://coredns.io/plugins/cache/ Maybe you can raise a RFC https://github.com/openshift/cluster-dns-operator/issues to be able to configure the cache feature in OpenShift.
-- Thanks & Regards Arunkumar
Hth Alex _______________________________________________ users mailing list users@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/listinfo/users