A server shows packet loss and the interface counters keep rising: `ip -s link` shows `RX dropped` increasing.
AdvancedTroubleshootingNetworking, DNS and firewalls
Answer
Likely causes → The NIC ring buffer or kernel backlog overflows under bursts, CPU can't keep up with softirqs, or packets for unknown protocols/VLANs are discarded.
Diagnose →
ip -s link show eth0
ethtool -S eth0 | grep -Ei 'drop|miss|fifo|no_buff'
ethtool -g eth0 # ring sizes
cat /proc/net/softnet_stat # 2nd column = backlog drops
Fix → Increase ring buffers (ethtool -G eth0 rx 4096), raise net.core.netdev_max_backlog, spread IRQs/queues across CPUs.
Prevent → Graph NIC drop counters; tune before peak traffic.
More on Networking, DNS and firewalls
`curl http://10.0.1.20:8080` returns `curl: (7) Failed to connect to 10.0.1.20 port 8080: Connection refused`.BeginnerThe same request instead hangs and ends with `curl: (28) Failed to connect to 10.0.1.20 port 8080 after 130000 ms: Connection timed out`. How is this different from "refused"?Beginner`ping google.com` fails with `ping: google.com: Temporary failure in name resolution`, but `ping 8.8.8.8` works.Beginner`dig api.internal` works, but the application and `curl` fail with `Could not resolve host: api.internal`.Intermediate`/etc/resolv.conf` changes you made disappear after a reboot or a few minutes.BeginnerDNS lookups take exactly 5 seconds before succeeding.Intermediate