Hi!
is anyone encountered problem on PING to public domain name like google.com but fine when ping public IP? This server is freshly installed with DHCP configured and does not have restriction on internet. I can’t figure out what wrong in the network interface or settings and how to fix this?
Please don’t post screenshots, when you could have simply copied/pasted the console text. Screenshots are a nightmare to read. There is no reason to post it.
That said, sounds like if it doesn’t ping, then you have DNS configuration issues - most likely network not configured correctly with the appropriate DNS entries.
Thanks for the reply and this is noted as I am not aware of posting screenshot could give unreadable to the reader or much like don’t wanna see the sample image. Anyways going to the subject.
For DNS issue, what part or where should I see that DNS entries that I must configure correctly? Because I installed this Linux in default way, DHCP provided by simple router and plain internet access as example, thus I haven’t expected issue will arise like this. Can you help me further?
Thanks everyone whose gave their thought about my concern. I found the fixed, and reconfigured the network profile. Now I can able to ping the google.com, I followed the guide below.
We could see that the machine was member of two subnets: 192.168.52.0/24 and 10.10.10.0/24,
there was a DNS server in each: 192.168.52.2 and 10.10.10.11, respectively
and the 192.168.52.0/24 had router 192.168.52.1 to other subnets.
The only bit peculiar bit in that was that the router (192.168.52.1) and DSN server (192.168.52.2) were different machines. Typically, a “home router” has both DHCP server and DNS server (as does libvirtd/KVM). Perhaps VMware has different practice.
The 192.168.52.2 was before 10.10.10.11 in resolv.conf, so 192.168.52.2 is queried first every time. Only if it is down, will the query be repeated to 10.10.10.11.