A field story about a brand-new cloud VM that could not resolve a single name — the outbound rule almost nobody reads — and the two-query test I now run before I touch resolv.conf.
The VM was new. A fresh instance in a customer’s OpenStack project, built to host their mail platform. A clean install, the control panel script ready to run.
“The server is up? Good. Install the panel and we’ll point the domain at it today.”
Before the install, I ran my usual first checks. Name resolution was one of them.
I tried a plain lookup. Nothing. I tried a different name. Nothing. Every DNS lookup on the box failed.
“Is it the server? Do we need to rebuild it?”
I checked the obvious things. The resolver settings looked normal. The server’s own firewall was nftables, and its ruleset accepted everything. There was no local DNS cache doing anything strange.
Then I asked the same question a different way. I sent the same DNS query over TCP instead of UDP.
It answered.
Same server. Same resolver. Same name.…