Linux DNS Not Resolving is a common Linux issue for desktop users, students and IT support technicians. This guide focuses on repair name resolution and systemd-resolved issues with safe troubleshooting steps and alternative solutions.
Common symptoms
- The feature stops working after an update, restart or configuration change.
- The device, app, service or command appears but does not behave correctly.
- Errors appear in terminal, logs or desktop notifications.
Recommended solutions
- Solution 1: Test DNS with dig or resolvectl
- Solution 2: Restart systemd-resolved or NetworkManager
- Solution 3: Change DNS server temporarily for testing
Useful Linux commands
resolvectl statusdig example.comsudo systemctl restart systemd-resolved
Alternative solution: check system logs
Use journalctl -xe or journalctl -b to look for driver, service, permission or hardware errors around the time the issue occurred.
Alternative solution: test with another user or live USB
If the problem affects only one account, test with a temporary user. If it also happens in a live USB session, suspect hardware, firmware or driver compatibility.
Prevention tips
- Keep packages updated from trusted repositories.
- Back up important files before repairing disks, permissions or packages.
- Make one change at a time and document the fix.
FAQ
Does this work on Ubuntu, Debian, Fedora and Linux Mint?
Most steps apply across popular distributions, but package names and settings screens can vary.
Should I reinstall Linux?
Usually no. Try logs, service restarts, driver checks and package repair first.
Disclaimer: This tutorial is for educational purposes. Test carefully before applying changes. WhileNetworking is not responsible for misuse, damage, data loss or production issues.

