All jobs / Cybersecurity / Networking Security
Cybersecurity interview question · 1–3 years
Why does a security team care about DNS, both as a control and as evidence?
The strongest answer
As a control it can refuse to resolve known-bad or newly registered domains, so the connection never happens; as evidence, resolver logs show which host asked for what, which is often the first thread in an investigation
Why it works
Right — cheap prevention plus a per-host trail that survives even when the payload itself is encrypted.
What a good answer covers
- DNS is control and evidence.
- Refuse to resolve known bad.
- Keep and actually read resolver logs.
- Look for odd lookup patterns.
Answers that fall short
- Close, but not the strongest: DNS logs show which sites users visited, so you can spot suspicious traffic
That is the evidence half; the control half is blocking resolution before any connection is made. - Weak: DNS is name resolution — a networking concern rather than a security one
Almost every outbound connection starts with a lookup, which makes DNS one of the best places to see and stop things. - Red flag: We log DNS but nobody reads it, so I would turn the logging off and save the storage
Deleting the one log that still works against encrypted traffic is exactly what an interviewer does not want to hear.
Who gets asked this
More Networking Security questions
- What is the difference between an IDS and an IPS, and which would you put on a production path first?
- What does segmentation buy you here, and how would you start without breaking the business?
- Admin panels are on the public internet with a strong password. What do you add first?
- You can take a packet capture. What are you hoping it tells you, and what will it not tell you?
- A vendor proposes decrypting all outbound employee traffic at the gateway so the tools can inspect it. You…
- Contractors need three internal applications. The default answer is a VPN. What is the strategic case against…
- What does a firewall actually decide, and what can it not protect you from?