Menu

1 / 2

All DNS Fails on a New OpenStack VM but TCP Works — the Security Group With No UDP Egress

DEV Community: cloud·Daanial Farrukh·about 19 hours ago
#bjcyBY3R
#devtocloud#devto#dev#group#server
Long article (2227 words) — no AI summary yet.
Reading 0:00
15s threshold

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.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.