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 / postfix / postfix-host-not-found-name-service-error ▌

Operations Guides

Postfix Host or domain name not found: DNS name service errors deferring mail

Mail is piling up in the deferred queue. Postfix logs the same deferral repeatedly:

status=deferred (Host or domain name not found. Name service error for name=example.com type=MX: Host not found, try again)

The enhanced status code is 4.4.3 (directory server failure). Postfix will retry, but retries keep producing the same error because the resolver is broken, not the destination.

The key tell: all destinations are affected equally. If Gmail, Outlook, and a corporate partner all fail with “Host not found” at the same time, your resolver is the problem. If only one domain fails, that is a real DNS issue at the destination.

The critical trap: Postfix often uses a different resolver path than your interactive tools. dig and host may work from your shell while Postfix defers everything, because the smtp delivery process reads a different resolv.conf or runs in a chroot jail your shell does not share.

What the error means

Postfix relies on DNS for MX record lookups, reverse PTR verification, and DNSBL queries. When the resolver cannot return an answer, Postfix defers the message with a 4.4.3 DSN. Temporary DNS failures should defer, not bounce. The problem is that the resolver never recovers on its own.

The deferral string breaks down as follows:

  • “Host or domain name not found” is the human-readable summary.
  • “Name service error for name=<domain> type=<RR>” shows which query failed. For outbound delivery, type=MX is the most common.
  • “Host not found, try again” indicates a temporary failure (SERVFAIL or timeout). This differs from “Host not found” without “try again”, which is NXDOMAIN (permanent). The “try again” suffix is what makes Postfix defer rather than bounce.

The root cause is almost always one of: the resolver process is down, Postfix’s chroot jail has a stale copy of resolv.conf, SELinux is silently blocking the read, the resolver returns SERVFAIL on DNSSEC validation, or inet_protocols triggers IPv6 connection attempts that fail on hosts without IPv6 connectivity. A failed AAAA lookup is not the issue here: with inet_protocols=all and no usable IPv6 route, the AAAA lookup succeeds but the IPv6 connect attempt fails, so the deferral shows connect to <host>[<ipv6-address>]:25: Network is unreachable at connection time, not a name service error.

flowchart TD
    A["All destinations deferring
Host not found, try again"] --> B{"dig works
from shell?"} B -- No --> C["Resolver process
down or unreachable"] B -- Yes --> D{"Postfix chrooted?
check master.cf"} D -- Yes --> E["Stale resolv.conf
in chroot jail"] D -- No --> F{"SELinux
enabled?"} F -- Yes --> G["AVC denial on
resolv.conf read"] F -- No --> H["Check DNSSEC
SERVFAIL"]

Common causes

CauseWhat it looks likeFirst thing to check
Stale chroot resolv.confdig works from shell; Postfix defers all domainsdiff /etc/resolv.conf /var/spool/postfix/etc/resolv.conf
Resolver process down or unhealthydig fails from shell too; systemctl status shows resolver issuessystemctl status systemd-resolved or pgrep -a named
SELinux denying resolv.conf readAVC denials in audit.log; restorecon fixes itsudo ausearch -m AVC -ts recent
DNSSEC SERVFAILdig +dnssec returns SERVFAIL for valid domainsdig +dnssec example.com MX
IPv6 connection failures with inet_protocols=allMay surface as “Network is unreachable” deferrals on servers without IPv6 connectivitypostconf -h inet_protocols
nsswitch.conf blocking DNShosts: line has mdns4_minimal [NOTFOUND=return] before dnscat /etc/nsswitch.conf
Network partition to upstream DNSdig times out to all configured nameserversdig @<nameserver_ip> example.com MX

Quick checks

# Count which domains are deferring and how many times
grep 'status=deferred.*Host not found' /var/log/mail.log \
  | grep -oP 'name=\K[^ ]+' | sort | uniq -c | sort -rn | head -20

# Test MX resolution from the shell
dig example.com MX

# Test against the nameserver configured in resolv.conf
dig @$(awk '/nameserver/ {print $2; exit}' /etc/resolv.conf) example.com MX

# Check whether the smtp delivery agent runs chrooted (5th field: y = chrooted)
grep '^smtp' /etc/postfix/master.cf

# If chrooted, compare system and chroot resolv.conf
diff /etc/resolv.conf /var/spool/postfix/etc/resolv.conf

# Check resolver process health
systemctl status systemd-resolved

# Check SELinux AVC denials related to resolv.conf
sudo ausearch -m AVC -ts recent 2>/dev/null | grep -i resolv

# Test DNSSEC validation path
dig +dnssec example.com MX

# Check inet_protocols setting
postconf -h inet_protocols

# Check DNS-related Postfix configuration
postconf -h smtp_host_lookup smtp_dns_support_level disable_dns_lookups

How to diagnose

  1. Confirm the scope. If the deferral hits every destination domain, you have a resolver problem. If it hits one or a few, investigate those domains individually. The grep command in Quick checks counts deferrals by name= field and tells you immediately.

  2. Test DNS from the shell. Run dig example.com MX for a domain you know is valid. If it fails here, the resolver process or upstream connectivity is broken. Skip to step 5.

  3. Determine if Postfix runs chrooted. Check master.cf: if the smtp delivery agent’s chroot column (5th field) is y, Postfix reads /var/spool/postfix/etc/resolv.conf, not /etc/resolv.conf. This file is copied at startup and is not updated by postfix reload.

  4. If chrooted, compare the two resolv.conf files. If they differ, the chroot copy is stale. This is the most common cause after a DNS server change.

  5. Check the resolver process. If dig fails from the shell, verify the resolver is running and responding. For systemd-resolved: systemctl status systemd-resolved. For named: pgrep -a named. For nscd: pgrep -a nscd.

  6. Check for SELinux denials. On RHEL, CentOS, Fedora, and other SELinux-enabled systems, the smtp process may be denied read access to resolv.conf if the file has the wrong security context. Run sudo ausearch -m AVC -ts recent and look for denials involving resolv.conf or net_conf_t.

  7. Test DNSSEC validation. Run dig +dnssec example.com MX. If you see SERVFAIL, the resolver is failing DNSSEC validation for domains that should resolve. This is common with systemd-resolved when DNSSEC is enabled and upstream responses fail validation.

  8. Check inet_protocols. If inet_protocols=all and your server has no working IPv6 connectivity, Postfix attempts IPv6 connections that fail with “Network is unreachable” or hang until timeout. These failures show up at connection time in the deferral reason, not as name service errors.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Deferred queue growth rateSustained growth means delivery failures exceed retry drain rateSustained positive growth over 1 hour
Deferral reason distribution“Host not found” across all domains points to DNS, not destinationSingle reason code dominating deferrals
DNS resolver latencySlow resolver causes widespread delays before total failurep99 lookup time above 500ms
DNS resolver error rateSERVFAIL and timeout rates reveal resolver healthAny sustained non-zero SERVFAIL rate
Active queue utilizationDNS failures keep active queue low because nothing can be deliveredActive queue near empty with high deferred
Delivery success rateUltimate measure of mail flow healthDelivery rate near zero with normal injection rate

Fixes

Stale chroot resolv.conf

If Postfix runs chrooted and /var/spool/postfix/etc/resolv.conf differs from /etc/resolv.conf, the chroot copy is stale. This happens after any DNS server change: someone updates /etc/resolv.conf, runs postfix reload, and assumes Postfix picks up the new nameservers. It does not. A reload does not copy files into the chroot.

# Full restart to sync chroot files (not reload).
# WARNING: this briefly stops all mail processing.
postfix stop && postfix start

On systemd-managed systems, systemctl restart postfix performs the same full restart. Verify after restart:

diff /etc/resolv.conf /var/spool/postfix/etc/resolv.conf

If the files still differ, copy manually and reload:

cp /etc/resolv.conf /var/spool/postfix/etc/resolv.conf
postfix reload

Resolver process down or unhealthy

If dig fails from the shell, the resolver itself is the problem. Restart it and check upstream connectivity:

systemctl restart systemd-resolved

# Verify the stub resolver answers
dig @127.0.0.53 example.com MX

# Check upstream reachability directly
dig @8.8.8.8 example.com MX

If you are running nscd as a caching layer, flush its DNS cache and restart:

nscd -i hosts
systemctl restart nscd

SELinux denying resolv.conf read

On SELinux-enabled systems, /etc/resolv.conf must have the net_conf_t context. If NetworkManager or another tool rewrote the file with the wrong context, the smtp process gets an AVC denial and cannot read it.

# Fix the context
sudo restorecon -v /etc/resolv.conf

# Verify
ls -Z /etc/resolv.conf

No Postfix restart is needed after restorecon; the next DNS lookup succeeds.

DNSSEC SERVFAIL

If dig +dnssec example.com MX returns SERVFAIL for domains that should resolve, the resolver’s DNSSEC validation is broken.

For systemd-resolved, check the configuration:

grep -i dnssec /etc/systemd/resolved.conf

# Compare stub resolver vs upstream
dig @127.0.0.53 example.com MX
dig @<upstream_dns> example.com MX

Workaround options:

  • Set DNSSEC=no in /etc/systemd/resolved.conf and restart systemd-resolved (disables validation entirely).
  • Bypass the stub resolver: set DNSStubListener=no in /etc/systemd/resolved.conf, then configure /etc/resolv.conf to point directly at upstream resolvers.
  • If Postfix is using smtp_dns_support_level=dnssec for DANE, SERVFAIL on TLSA lookups will also defer mail. Verify whether DANE is required for the affected destinations.

IPv6 AAAA lookup failures

When inet_protocols=all, Postfix performs AAAA lookups alongside A lookups. If your server has no working IPv6 connectivity, the AAAA lookup itself usually succeeds but the IPv6 connection attempt fails with connect to <host>[<ipv6-address>]:25: Network is unreachable or times out.

# Restrict to IPv4 if you have no working IPv6
postconf -e 'inet_protocols=ipv4'
postfix reload

If you need IPv6, verify connectivity first:

# Test IPv6 connectivity to a DNS server
dig -6 @2001:4860:4860::8888 example.com MX

nsswitch.conf blocking DNS

If /etc/nsswitch.conf contains a hosts: line with mdns4_minimal [NOTFOUND=return] before dns, mDNS lookups that return NOTFOUND will short-circuit the resolution chain before DNS is consulted. This causes failures for any hostname not found via mDNS.

grep '^hosts' /etc/nsswitch.conf

Fix: ensure dns appears in the hosts line, and remove [NOTFOUND=return] if it prevents fallback:

hosts: files dns

Prevention

  • Monitor the resolver independently from Postfix. DNS is Postfix’s single point of failure. Queue depth and delivery rate show the symptom; resolver health shows the cause.
  • After any DNS server change, restart Postfix fully. A reload does not update chroot files.
  • Run restorecon /etc/resolv.conf after any DNS configuration change on SELinux systems. NetworkManager and other tools can rewrite the file with the wrong context.
  • Configure multiple nameserver entries in resolv.conf so a single upstream failure does not take out all resolution.
  • Test DNSSEC validation paths after resolver or systemd updates. A resolver upgrade can change validation behavior and start returning SERVFAIL for previously working queries.
  • Set inet_protocols=ipv4 unless you have verified IPv6 connectivity. This eliminates an entire class of AAAA-related failures.

How Netdata helps

  • Per-second deferred queue metrics show the exact moment DNS failures begin causing mail to pile up.
  • Correlating deferral rate spikes with DNS resolver latency or error rate changes confirms the root cause without manual log tracing.
  • Active versus deferred queue comparison reveals the characteristic pattern: active queue near empty (nothing deliverable), deferred queue climbing.
  • Postfix log parsing surfaces deferral reason codes, making “Host not found” dominance visible across all destinations.
  • System-level DNS resolver monitoring (process health, query latency, error rates) catches degradation before total failure.