The only agent that thinks for itself

Autonomous Monitoring with self-learning AI built-in, operating independently across your entire stack.

Unlimited Metrics & Logs
Machine learning & MCP
5% CPU, 150MB RAM
3GB disk, >1 year retention
800+ integrations, zero config
Dashboards, alerts out of the box
> Discover Netdata Agents

Centralized metrics streaming and storage

Aggregate metrics from multiple agents into centralized Parent nodes for unified monitoring across your infrastructure.

Stream from unlimited agents
Long-term data retention
High availability clustering
Data replication & backup
Scalable architecture
Enterprise-grade security
> Learn about Parents

Fully managed cloud platform

Access your monitoring data from anywhere with our SaaS platform. No infrastructure to manage, automatic updates, and global availability.

Zero infrastructure management
99.9% uptime SLA
Global data centers
Automatic updates & patches
Enterprise SSO & RBAC
SOC2 & ISO certified
> Explore Netdata Cloud

Deploy Netdata Cloud in your infrastructure

Run the full Netdata Cloud platform on-premises for complete data sovereignty and compliance with your security policies.

Complete data sovereignty
Air-gapped deployment
Custom compliance controls
Private network integration
Dedicated support team
Kubernetes & Docker support
> Learn about Cloud On-Premises

Powerful, intuitive monitoring interface

Modern, responsive UI built for real-time troubleshooting with customizable dashboards and advanced visualization capabilities.

Real-time chart updates
Customizable dashboards
Dark & light themes
Advanced filtering & search
Responsive on all devices
Collaboration features
> Explore Netdata UI

Monitor on the go

Native iOS and Android apps bring full monitoring capabilities to your mobile device with real-time alerts and notifications.

iOS & Android apps
Push notifications
Touch-optimized interface
Offline data access
Biometric authentication
Widget support
> Download apps

The future of infrastructure observability

See our strategic direction across AI-native observability, full-stack signals, operational intelligence, and enterprise platform maturity.

AI-native observability
Full-stack signal coverage
Operational intelligence
Enterprise platform maturity
Agent releases every 6 weeks
Cloud continuous delivery
> Explore Product Roadmap

Best energy efficiency

True real-time per-second

100% automated zero config

Centralized observability

Multi-year retention

High availability built-in

Zero maintenance

Always up-to-date

Enterprise security

Complete data control

Air-gap ready

Compliance certified

Millisecond responsiveness

Infinite zoom & pan

Works on any device

Native performance

Instant alerts

Monitor anywhere

AI-native observability

Continuous delivery

Open source foundation

80% Faster Incident Resolution

AI-powered troubleshooting from detection, to root cause and blast radius identification, to reporting.

True Real-Time and Simple, even at Scale

Linearly and infinitely scalable full-stack observability, that can be deployed even mid-crisis.

90% Cost Reduction, Full Fidelity

Instead of centralizing the data, Netdata distributes the code, eliminating pipelines and complexity.

See and Map Your Entire Network

Live topology, flow analytics, and SNMP device and trap monitoring — unified with your full-stack observability.

Control Without Surrender

SOC 2 Type 2 certified with every metric kept on your infrastructure.

Integrations

800+ collectors and notification channels, auto-discovered and ready out of the box.

800+ data collectors
Auto-discovery & zero config
Cloud, infra, app protocols
Notifications out of the box
> Explore integrations
Real Results
46% Cost Reduction

Reduced monitoring costs by 46% while cutting staff overhead by 67%.

— Leonardo Antunez, Codyas

Zero Pipeline

No data shipping. No central storage costs. Query at the edge.

From Our Users
"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

No Query Language

Point-and-click troubleshooting. No PromQL, no LogQL, no learning curve.

Enterprise Ready
67% Less Staff, 46% Cost Cut

Enterprise efficiency without enterprise complexity—real ROI from day one.

— Leonardo Antunez, Codyas

SOC 2 Type 2 Certified

Zero data egress. Only metadata reaches the cloud. Your metrics stay on your infrastructure.

Full Coverage
800+ Collectors

Auto-discovered and configured. No manual setup required.

Any Notification Channel

Slack, PagerDuty, Teams, email, webhooks—all built-in.

Built for the People Who Get Paged

Because 3am alerts deserve instant answers, not hour-long hunts.

Every Industry Has Rules. We Master Them.

See how healthcare, finance, and government teams cut monitoring costs 90% while staying audit-ready.

Monitor Any Technology. Configure Nothing.

Install the agent. It already knows your stack.
From Our Users
"A Rare Unicorn"

Netdata gives more than you invest in it. A rare unicorn that obeys the Pareto rule.

— Eduard Porquet Mateu, TMB Barcelona

99% Downtime Reduction

Reduced website downtime by 99% and cloud bill by 30% using Netdata alerts.

— Falkland Islands Government

Real Savings
30% Cloud Cost Reduction

Optimized resource allocation based on Netdata alerts cut cloud spending by 30%.

— Falkland Islands Government

46% Cost Cut

Reduced monitoring staff by 67% while cutting operational costs by 46%.

— Codyas

Real Coverage
"Plugin for Everything"

Netdata has agent capacity or a plugin for everything, including Windows and Kubernetes.

— Eduard Porquet Mateu, TMB Barcelona

"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

Real Speed
Troubleshooting in 30 Seconds

From 2-3 minutes to 30 seconds—instant visibility into any node issue.

— Matthew Artist, Nodecraft

20% Downtime Reduction

20% less downtime and 40% budget optimization from out-of-the-box monitoring.

— Simon Beginn, LANCOM Systems

Pay per Node. Unlimited Everything Else.

One price per node. Unlimited metrics, logs, users, and retention. No per-GB surprises.

Free tier—forever
No metric limits or caps
Retention you control
Cancel anytime
> See pricing plans

What's Your Monitoring Really Costing You?

Most teams overpay by 40-60%. Let's find out why.

Expose hidden metric charges
Calculate tool consolidation
Customers report 30-67% savings
Results in under 60 seconds
> See what you're really paying

Your Infrastructure Is Unique. Let's Talk.

Because monitoring 10 nodes is different from monitoring 10,000.

On-prem & air-gapped deployment
Volume pricing & agreements
Architecture review for your scale
Compliance & security support
> Start a conversation

Monitoring That Sells Itself

Deploy in minutes. Impress clients in hours. Earn recurring revenue for years.

30-second live demos close deals
Zero config = zero support burden
Competitive margins & deal protection
Response in 48 hours
> Apply to partner

Per-Second Metrics at Homelab Prices

Same engine, same dashboards, same ML. Just priced for tinkerers.

Community: Free forever · 5 nodes · non-commercial
Homelab: $90/yr · unlimited nodes · fair usage
> Get the Homelab Plan

$1,000 Per Referral. Unlimited Referrals.

Your colleagues get 10% off. You get 10% commission. Everyone wins.

10% of subscriptions, up to $1,000 each
Track earnings inside Netdata Cloud
PayPal/Venmo payouts in 3-4 weeks
No caps, no complexity
> Get your referral link
Cost Proof
40% Budget Optimization

"Netdata's significant positive impact" — LANCOM Systems

Calculate Your Savings

Compare vs Datadog, Grafana, Dynatrace

Savings Proof
46% Cost Reduction

"Cut costs by 46%, staff by 67%" — Codyas

30% Cloud Bill Savings

"Reduced cloud bill by 30%" — Falkland Islands Gov

Enterprise Proof
"Better Than Combined Alternatives"

"Better observability with Netdata than combining other tools." — TMB Barcelona

Real Engineers, <24h Response

DPA, SLAs, on-prem, volume pricing

Why Partners Win
Demo Live Infrastructure

One command, 30 seconds, real data—no sandbox needed

Zero Tickets, High Margins

Auto-config + per-node pricing = predictable profit

Homelab Ready
Free Video Course

8-episode Netdata tutorial by LearnLinux.tv

76k+ GitHub Stars

3rd most starred monitoring project

Worth Recommending
Product That Delivers

Customers report 40-67% cost cuts, 99% downtime reduction

Zero Risk to Your Rep

Free tier lets them try before they buy

AI Support Assistant, Available 24/7

Nedi has access to all official documentation, source code, and resources. Ask any question about Netdata—responds in your language.

Deployment & configuration
Troubleshooting & sizing
Alerts & notifications
Evidence-based answers
> Ask Nedi now

Never Fight Fires Alone

Docs, community, and expert help—pick your path to resolution.

Learn.netdata.cloud docs
Discord, Forums, GitHub
Premium support available
> Get answers now

60 Seconds to First Dashboard

One command to install. Zero config. 850+ integrations documented.

Linux, Windows, K8s, Docker
Auto-discovers your stack
> Read our documentation

76,000+ Engineers Strong

615+ contributors. 1.5M daily downloads. One mission: simplify observability.

Per-Second. 90% Cheaper. Data Stays Home.

Side-by-side comparisons: costs, real-time granularity, and data sovereignty for every major tool.

See why teams switch from Datadog, Prometheus, Grafana, and more.

> Browse all comparisons
Edge-Native Observability, Born Open Source
Per-second visibility, ML on every metric, and data that never leaves your infrastructure.
Founded in 2016
615+ contributors worldwide
Remote-first, engineering-driven
Open source first
> Read our story
Promises We Publish—and Prove
12 principles backed by open code, independent validation, and measurable outcomes.
Open source, peer-reviewed
Zero config, instant value
Data sovereignty by design
Aligned pricing, no surprises
> See all 12 principles
Edge-Native, AI-Ready, 100% Open
76k+ stars. Full ML, AI, and automation—GPLv3+, not premium add-ons.
76,000+ GitHub stars
GPLv3+ licensed forever
ML on every metric, included
Zero vendor lock-in
> Explore our open source
Build Real-Time Observability for the World
Remote-first team shipping per-second monitoring with ML on every metric.
Remote-first, fully distributed
Open source (76k+ stars)
Challenging technical problems
Your code on millions of systems
> See open roles
Meet the Team Behind Netdata
Conferences, meetups, and tradeshows where you can see Netdata in action and talk to the engineers who build it.
Live demos and deep dives
Book 1-on-1 meetings
Talks and panel sessions
Event recaps and photos
> See all events
Talk to a Netdata Human in <24 Hours
Sales, partnerships, press, or professional services—real engineers, fast answers.
Discuss your observability needs
Pricing and volume discounts
Partnership opportunities
Media and press inquiries
> Book a conversation
Your Data. Your Rules.
On-prem data, cloud control plane, transparent terms.
Trust & Scale
76,000+ GitHub Stars

One of the most popular open-source monitoring projects

SOC 2 Type 2 Certified

Enterprise-grade security and compliance

Data Sovereignty

Your metrics stay on your infrastructure

Validated
University of Amsterdam

"Most energy-efficient monitoring solution" — ICSOC 2023, peer-reviewed

ADASTEC (Autonomous Driving)

"Doesn't miss alerts—mission-critical trust for safety software"

Community Stats
615+ Contributors

Global community improving monitoring for everyone

1.5M+ Downloads/Day

Trusted by teams worldwide

GPLv3+ Licensed

Free forever, fully open source agent

Why Join?
Remote-First

Work from anywhere, async-friendly culture

Impact at Scale

Your work helps millions of systems

$ guides / coredns / coredns-nxdomain-flood-dga ▌

Operations Guides

CoreDNS NXDOMAIN flood from one source: DGA malware and domain enumeration

Your CoreDNS dashboards are green: SERVFAIL is zero, latency is fine, cache hit ratio looks normal. But the NXDOMAIN rate has jumped, and when you pull query logs, one source IP is responsible for thousands of NXDOMAIN responses per hour, querying names that do not exist.

This is a security signal, not a CoreDNS health signal. A single source generating a sustained flood of NXDOMAIN responses is doing one of three things: cycling randomly generated domains looking for a command-and-control server (DGA malware in a compromised pod), probing which service names exist in your cluster (reconnaissance), or misbehaving in a way that merely looks like an attack (a config typo hammering a name that was never created).

The hard part is that CoreDNS gives you almost no help here out of the box. There is no per-source-IP metric. coredns_dns_responses_total{rcode="NXDOMAIN"} aggregates across all clients, and the NXDOMAIN rate in Kubernetes is already high and noisy because search-domain expansion generates NXDOMAINs constantly. Detection is log-based, and triage is about the shape of the queried names, not the count alone.

What this means

NXDOMAIN is a normal response code. It means “this name does not exist,” and in Kubernetes it is expected: with the default ndots:5 resolver configuration, a lookup for an external name is tried against cluster-internal suffixes first, and each suffix miss returns NXDOMAIN. Baseline NXDOMAIN ratios of 20 to 60 percent of total responses are common and healthy.

The anomaly is not NXDOMAIN itself. It is the concentration: one client IP responsible for a disproportionate share of NXDOMAIN responses, sustained over time. A reasonable starting flag threshold is a single source generating more than 100 NXDOMAIN responses per minute, but the right number depends on your environment. What matters is that one source dominates and that its query pattern does not match any legitimate workload behavior.

The two hostile explanations have distinct shapes:

  • DGA malware generates pseudo-random domain names (high entropy, consonant-heavy, often long labels) against external zones, hoping one resolves to a live C2 server. Most fail, hence the NXDOMAIN flood. Queries are typically forwarded through the forward plugin to upstream resolvers.
  • Domain enumeration probes structured, guessable names: common service names, namespace patterns, sequential IDs. Against cluster.local, this is an attacker mapping your internal service topology for lateral movement. Against external zones, it is subdomain brute-forcing.

Both leave the same fingerprint in aggregate metrics: elevated NXDOMAIN responses, a growing denial cache, and possibly a dropping cache hit ratio. The per-source attribution only exists in logs.

flowchart TD
  A[NXDOMAIN rate elevated or log alert fires] --> B{One source IP dominates?}
  B -- "No, spread across many pods" --> C[Likely ndots search expansion or app misconfig - not this runbook]
  B -- "Yes" --> D{What zone are the queries in?}
  D -- "cluster.local" --> E{Names structured or guessable?}
  E -- "Yes: common service names, patterns" --> F[Domain enumeration - reconnaissance]
  E -- "No: typo of one real name, tight loop" --> G[Broken app config or retry loop]
  D -- "External zone" --> H{Names high-entropy and random?}
  H -- "Yes" --> I[Probable DGA malware - treat pod as compromised]
  H -- "No: single external name repeated" --> G

Common causes

CauseWhat it looks likeFirst thing to check
DGA malware in a compromised podRandom, high-entropy external names; NXDOMAIN ratio near 100% for that client; steady cadenceQuery names in logs: do they look algorithmically generated?
Domain enumeration (recon)Structured queries against cluster.local: plausible service names, namespace guessesAre the names guessable variations of real internal naming conventions?
Misconfigured applicationOne or a few specific names retried in a tight loopIs the queried name a typo or a deleted Service?
Aggressive service-discovery probingModerate NXDOMAIN rate from a client polling for a dependency that comes and goesDoes the pattern correlate with a dependency’s lifecycle?
ndots search expansion amplificationMany pods contributing, no single dominant sourceNXDOMAIN names ending in default.svc.cluster.local, svc.cluster.local etc.

The last two rows are the benign lookalikes. Some legitimate applications generate moderate NXDOMAIN rates through DNS-based service-discovery probing, so absolute thresholds depend on the environment. The distinguishing question is always: does this client’s query pattern match what its workload is supposed to do?

Quick checks

These are read-only and safe to run during an incident.

# 1. Confirm the aggregate NXDOMAIN rate (all clients, per zone)
kubectl exec -n kube-system deploy/coredns -- \
  wget -qO- http://localhost:9153/metrics | grep 'coredns_dns_responses_total' | grep 'NXDOMAIN'

# 2. Check denial cache growth - recon and DGA inflate it
kubectl exec -n kube-system deploy/coredns -- \
  wget -qO- http://localhost:9153/metrics | grep '^coredns_cache_entries'

# 3. Aggregate NXDOMAINs by client IP from logs (requires the log plugin).
#    Field position for the client IP depends on your log format; verify against
#    one sample line before trusting the awk column.
kubectl logs -n kube-system deploy/coredns --since=1h | grep NXDOMAIN | \
  awk '{print $3}' | sort | uniq -c | sort -rn | head -20

# 4. Map the offending source IP to a pod
kubectl get pods --all-namespaces -o wide | grep <source-ip>

# 5. Sample the actual query names from that client (this is the decisive check)
kubectl logs -n kube-system deploy/coredns --since=10m | grep NXDOMAIN | \
  grep <source-ip> | head -50

If check 3 returns nothing useful, the log plugin is not enabled. See the diagnosis section; without query logs you are working blind on per-source attribution, because CoreDNS exposes no per-client-IP metric.

How to diagnose it

  1. Confirm the anomaly is real and concentrated. Compare current NXDOMAIN rate against your rolling baseline using coredns_dns_responses_total{rcode="NXDOMAIN"}. Then check denial cache entries via coredns_cache_entries{type="denial"}. Growing denial entries with stable success entries is the classic fingerprint of scanning or DGA traffic. If total NXDOMAIN is flat and spread across many clients, you are likely looking at normal search-domain noise, not this problem.

  2. Enable query logging if it is not already on. The log plugin is usually disabled in production because of volume. Enable it scoped to denial-class responses so you capture NXDOMAIN without logging every successful query: the log plugin supports class filtering, and class denial covers NXDOMAIN and NODATA responses. Edit the CoreDNS ConfigMap:

kubectl edit cm coredns -n kube-system

Add or adjust the log directive inside the relevant server block, then let the reload plugin pick it up (CoreDNS polls the Corefile roughly every 30 seconds) or roll the pods. Watch coredns_reload_failed_total after the change to confirm the new Corefile actually loaded. Note that even denial-class logging can be heavy on a large cluster; scope it to the server blocks you need and be ready to revert.

  1. Attribute by source IP. Run quick check 3 and identify the dominant client. Map it to a pod with kubectl get pods -o wide. If the IP does not map to any current pod, it may be a host-level process, a pod that churned, or something reaching CoreDNS from outside the pod network. Check node conntrack entries and the kube-dns Service endpoints accordingly.

  2. Classify the query names. This is the step that decides everything. Look at 50 to 100 sample names from the offending source:

    • Random, high-entropy external names, mostly unique, near-100% NXDOMAIN: probable DGA. Treat the pod as compromised.
    • Structured internal names probing cluster.local: enumeration. Also treat as hostile, but check whether the client is a security scanner your own team deployed before escalating.
    • One name or a handful of names in a tight loop: misconfiguration. Check whether the Service was renamed or deleted, or whether the app config points at the wrong namespace.
    • The same base name tried against every search suffix: ndots amplification, which is a performance problem, not a security one.
  3. Corroborate with workload context. For the suspect pod: when was it deployed, what image does it run, what else is it doing? A DGA-infected pod usually shows other anomalies (egress connections to rare destinations, unexpected processes). A misconfigured pod shows nothing else suspicious. Check for companion signals: AXFR queries (coredns_dns_requests_total{type="AXFR"}) or ANY query spikes in the same timeframe indicate broader reconnaissance.

  4. Decide and act. Compromised pod: isolate it (network policy, or cordon/quarantine per your incident response process) and preserve logs before deleting anything. Misconfigured pod: fix the name or the retry behavior. Scanner: get it allow-listed and rate-limited.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
coredns_dns_responses_total{rcode="NXDOMAIN"} rateAggregate NXDOMAIN trend per zoneSustained jump vs rolling baseline with no deploy event
coredns_cache_entries{type="denial"}Recon and DGA inflate the negative cacheDenial entries growing while success entries are flat
Cache hit ratio (coredns_cache_hits_total / coredns_cache_requests_total)Random unique names never hit cacheDropping ratio without a restart or TTL change
coredns_dns_requests_total{type="AXFR"} / {type="ANY"}Companion reconnaissance signalsAny nonzero AXFR; ANY spike from zero baseline
Per-source NXDOMAIN count (log-derived)The only per-client attribution availableOne client over your flag threshold (starting point: >100/min)
coredns_forward_max_concurrent_rejects_totalA large enough flood can backpressure the forward pluginAny nonzero sustained rate
Conntrack utilization on CoreDNS nodesA true flood at high QPS fills the node conntrack tablenf_conntrack_count approaching nf_conntrack_max

Do not alert on absolute NXDOMAIN count. It fluctuates with total traffic and is dominated by benign search-domain misses. Alert on the ratio change against baseline, and on the log-derived per-source concentration.

Fixes

Compromised pod (DGA)

There is no CoreDNS fix; the fix is incident response. Isolate the pod from the network first, then preserve evidence (CoreDNS logs covering the window, the pod spec, the image digest) before terminating it. Identify how the workload was compromised: vulnerable image, exposed credential, supply chain. Deleting the pod without isolating and capturing evidence destroys the trail and, if the cause is a bad image, the replacement pod gets reinfected.

Domain enumeration

Same isolation logic applies if the source is hostile. If the enumeration is coming from inside the cluster, treat the source pod as compromised until proven otherwise: a healthy workload has no reason to probe for which service names exist. If it turns out to be an internal security scanner, move it to an allow-listed identity and constrain it.

Misconfigured application

Fix the name, the namespace, or the retry policy at the source. A tight retry loop with no backoff against a nonexistent name is worth fixing even when benign: it pollutes the denial cache and adds load for nothing. The denial cache means CoreDNS itself absorbs repeated queries cheaply, but the client still pays latency per attempt.

Rate limiting at CoreDNS (optional, with caveats)

If you need to blunt a flood at the DNS layer itself, the external rrl plugin supports per-client response rate limiting, including an nxdomains-per-second allowance, and exports a per-client metric (coredns_rrl_responses_exceeded_total). Two caveats: it is not in the stock CoreDNS image, so using it means building and maintaining a custom image, which most managed-Kubernetes deployments do not do. And rate limiting treats the symptom, not the cause: a compromised pod that gets rate-limited at DNS is still compromised. Use it as a pressure valve during response, not as the resolution. The nxdomains-per-second option and the coredns_rrl_responses_exceeded_total metric are confirmed in the external rrl plugin’s documentation.

Prevention

  • Keep scoped query logging on permanently. Logging only the denial class keeps volume manageable while preserving the attribution data you need. Discovering during an incident that logs are off is the common failure.
  • Alert on NXDOMAIN ratio shifts and denial cache growth, never on absolute counts. Both are metric-level tripwires that fire before you ever open logs.
  • Baseline per-workload DNS behavior. Knowing which namespaces legitimately probe for dependencies makes the anomaly obvious instead of ambiguous.
  • Watch companion signals. AXFR and ANY query rates, response size distribution, and query type mix catch reconnaissance that does not manifest as NXDOMAIN.
  • Constrain egress. Pods that cannot reach arbitrary external IPs limit what DGA malware can do even when a domain does resolve. Network policy is the containment layer DNS monitoring cannot be.

How Netdata helps

  • Netdata collects the CoreDNS Prometheus endpoint, so the aggregate tripwires in this article (NXDOMAIN response rate per zone, denial cache entries, cache hit ratio, request type distribution) are charted per second and per pod, letting you spot divergence between replicas that aggregate views hide.
  • Anomaly detection on the NXDOMAIN rate and denial cache growth surfaces the deviation-from-baseline pattern this symptom produces, without hand-tuned static thresholds against a noisy metric.
  • Per-pod charts for coredns_dns_requests_total{type="AXFR"} and {type="ANY"} let you correlate the NXDOMAIN flood window with companion reconnaissance signals on the same timeline.
  • Correlating CoreDNS metrics with node-level signals (conntrack utilization, UDP buffer errors) tells you whether a genuine flood is also stressing the node’s network layer, which changes the blast radius of your response.
  • Because CoreDNS exposes no per-source-IP metric, Netdata’s role here is the aggregate early warning and correlation layer; per-client attribution remains log-based, as described above.