1

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

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

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

~ nslookup google.com 4.2.2.4
Server:     4.2.2.4
Address:    4.2.2.4#53

Non-authoritative answer:
Name:   google.com
Address: 216.58.209.174

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

1

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.