Your VM probably doesn't have a network connection or your VM is not correctly configured.
Then it's a configuration issue on the VM itself. Does it actually have a network connection? Can you, for example, ping the default gateway? Can you ping the IP address of the DNS server? Does this server actually resolve anything?
ifconfig
than which thing I should test?? cat /etc/resolv.conf
I get:nameserver 127.0.0.1
options edns0
I would be seriously surprised if this wasn't the case.Yeah 16 out of 16 went in no time to lo0
I know what localhost is but still I have problem even in briged mode of VM.
actually it was auto configured by os installer and no I actually installed it myself.So your VM is set up to be running its own nameserver. Is it? Apparently not. Is this a preconfigured VM image, or did you set these options? If you set them, why?
Which auto installer? Because it is setting options that do not work by default.actually it was auto configured by os installer and no I actually installed it myself.
service netif restart
.still "no address record" msg.Disable local_unbound in rc.conf(5) by removing the local_unbound_enable line. Then run this:
service netif restart
.
still the same I'm really thinking about going with PC-BSD where everything work with no problem btw.Check if you have a file /etc/resolvconf.conf, remove it if found and try the service restart again.
The problem is probably local_unbound messing with the standard /etc/resolv.conf creation from the information provided from DHCP.
No it doesn't nothing appears here. EvenRemove /etc/resolv.conf and run the service restart again, does it re-create the /etc/resolv.conf file?
whereis
command doesn't find anything.