Notes
Short entries. No series, no schedule.
Where the conntrack table actually lives
It is a hash table inside the kernel, sized at boot from nf_conntrack_buckets.
The usual advice is to raise nf_conntrack_max when you see
nf_conntrack: table full, dropping packet, but that only helps if the bucket
count scales with it — otherwise the chains just get longer and lookup cost grows.
sysctl net.netfilter.nf_conntrack_buckets
sysctl net.netfilter.nf_conntrack_max
conntrack -C # current entries
Both are read-only at runtime on most kernels; they are set as module parameters at load. Worth remembering before you spend an evening tuning the wrong knob.
MTU is a per-route property, not a per-interface one
Setting an interface MTU changes the default, not the effective value for every path. A route can carry its own MTU and silently override what you configured on the link:
ip route show
ip route get 1.1.1.1
This is why a tunnel can appear healthy on ping while large transfers stall —
the small packets fit, the full-size ones get dropped and the ICMP that should report it
is often filtered somewhere along the way.
DoH does not remove the need for a bootstrap resolver
An encrypted resolver is still reached by hostname, so something has to resolve that name first — over plain DNS. The chicken-and-egg is real and shows up as a slow first query after a cold start, or as a hard failure when the bootstrap server is unreachable.
Pin the bootstrap by IP, keep it short, and treat it as infrastructure rather than a preference.