0

I have a VM guest having this issue:

[rxie@pocnnr1n1 opt]$ cat /etc/resolv.conf
# Generated by NetworkManager
search 8.8.8.8

8.8.8.8 is pingable

google.com is not resolvable

[rxie@pocnnr1n1 opt]$ ping google.com 
ping: google.com: Name or service not known

How do I fix the issue? Thank you very much.

3
  • Have you tried ping 8.8.8.8 Commented Jan 29, 2020 at 20:23
  • yes, I said 8.8.8.8 is pingable in my OP, thank you.
    – mdivk
    Commented Jan 29, 2020 at 20:30
  • Is port 53 open? sudo tcpdump -i any -n -nn -s 0 -p port 53 Commented Jan 29, 2020 at 20:33

1 Answer 1

0

The search option is for configuring default domain suffixes, not for configuring nameservers.

Use nameserver 8.8.8.8 instead. If this comes from NetworkManager, carefully check whether you've entered the DNS server address in the wrong field. If this comes from DHCP... fix the DHCP server.

1
  • Thank you, that is the reason!
    – mdivk
    Commented Jan 29, 2020 at 20:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .