OS Manuals

/usr/bin/node-cache

NodeLocal DNSCache improves Cluster DNS performance by running a DNS caching agent on cluster nodes as a DaemonSet.

From kubernetes-dns-node-cache 1.26.8-r28 (enterprise-packages), captured 2026-11-08 by running node-cache --help (exit 0). permalink

2026/11/08 04:24:54 [INFO] Starting node-cache image: UNKNOWN
Usage of /usr/bin/node-cache:
Runs CoreDNS v1.14.7 as a nodelocal cache listening on the specified ip:port

  -basecorefile string
    	Path to the template Corefile for node-cache (default "/etc/coredns/Corefile.base")
  -conf string
    	Corefile to load (default "Corefile")
  -corefile string
    	Path to the Corefile to be used by node-cache (default "/etc/Corefile")
  -dns.port string
    	Default port (default "53")
  -health-port string
    	port used by health plugin (default "8080")
  -interfacename string
    	name of the interface to be created (default "nodelocaldns")
  -kubednscm string
    	Path where the kube-dns configmap will be mounted
  -localip string
    	comma-separated string of ip addresses to bind dnscache to
  -metrics-listen-address string
    	address to serve metrics on (default "0.0.0.0:9353")
  -p string
    	Default port (default "53")
  -pidfile string
    	Path to write pid file
  -plugins
    	List installed plugins
  -quiet
    	Quiet mode (no initialization output)
  -reloadwithsignal
    	use SIGUSR1 on self to reload CoreDNS
  -setupinterface
    	indicates whether network interface should be setup (default true)
  -setupiptables
    	indicates whether iptables rules should be setup (default true)
  -skipteardown
    	indicates whether iptables rules should be torn down on exit
  -syncinterval duration
    	interval(in seconds) to check for iptables rules (default 60ns)
  -upstreamsvc string
    	Service name whose cluster IP is upstream for node-cache (default "kube-dns")
  -version
    	Show version
Options (20)
OptionDescriptionSource
-basecorefile stringPath to the template Corefile for node-cache (default "/etc/coredns/Corefile.base")help
-conf stringCorefile to load (default "Corefile")help
-corefile stringPath to the Corefile to be used by node-cache (default "/etc/Corefile")help
-dns.port stringDefault port (default "53")help
-health-port stringport used by health plugin (default "8080")help
-interfacename stringname of the interface to be created (default "nodelocaldns")help
-kubednscm stringPath where the kube-dns configmap will be mountedhelp
-localip stringcomma-separated string of ip addresses to bind dnscache tohelp
-metrics-listen-address stringaddress to serve metrics on (default "0.0.0.0:9353")help
-p stringDefault port (default "53")help
-pidfile stringPath to write pid filehelp
-pluginsList installed pluginshelp
-quietQuiet mode (no initialization output)help
-reloadwithsignaluse SIGUSR1 on self to reload CoreDNShelp
-setupinterfaceindicates whether network interface should be setup (default true)help
-setupiptablesindicates whether iptables rules should be setup (default true)help
-skipteardownindicates whether iptables rules should be torn down on exithelp
-syncinterval durationinterval(in seconds) to check for iptables rules (default 60ns)help
-upstreamsvc stringService name whose cluster IP is upstream for node-cache (default "kube-dns")help
-versionShow versionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.