Today open the virtual machine to start the network card ping Baidu Ping does not show Ping:unknown host baidu.com, is definitely a DNS issue.
Open resolv.conf found that the last DNS that was provisioned has disappeared,
I re-configured some nameserver restart the NIC after continuing to ping Baidu or the same error occurred. So I looked again resolv.conf found NameServer disappeared again.
After configuring DNS1 and DNS2 to restart the NIC in/etc/sysconfig/network-scrips/ifcfg-eth0, the DNS does not disappear.
Later Baidu why, only found that the original resolv.conf is ifcfg-eth link file. Not sure, right?
This article from "Open source is the spirit, sharing is the Virtue" blog, please be sure to keep this source http://hongtengfei.blog.51cto.com/9881650/1746962
Linux/etc/resolv.conf configuration DNS, after restarting the NIC disappears the problem