When defining positiveTTL in my default dns-config, I do not see the expected TTL for .cluster.local and .svc queries

Solution Verified - Updated -

Issue

  • When defining positiveTTL in my default dns-config, I do not see the expected TTL for .cluster.local and .svc queries

  • I have set the DNS operator using the positiveTTL parameter in my default dns-config objects as described in the Tuning the CoreDNS cache OCP Documentation

  • When running an nslookup, I do not see the expected TTL values (see Diagnostic Steps sections for more information)

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • >=4.12

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content