My primary DNS Server is Sometimes my machine cannot resolve any host name like this:

~ ping google.com            
ping: unknown host google.com

But I can ping and even lookup host names like this:

~ nslookup google.com

Non-authoritative answer:
Name:   google.com

Restarting network-manager service solves this problem. I wonder what causes this to happen?


I commented out dns=dnsmasq from /etc/NetworkManager/NetworkManager.conf and dns now works as it should.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.