This weekend, when the Lord Bo was in his own Windows host, the Oracle database in the virtual machine was connected with Pl/sql, and there was a problem of approximately more than 10 seconds to log in to succeed. It's a strange phenomenon because I ping the Oracle server IP address in the virtual machine in Windows, and the response time is within 1ms. GG on the Internet, did not find the answer. After my partner pointed out that the Linux system in the DNS resolution in the address when the "error" occurred. This is the same as when I connect to the network in bridging mode, I have misconfigured DNS in "Network Configuration" (when networking with bridged mode, you do not have to configure DNS).
Workaround: Edit the configuration file of DNS domain name resolution in Linux system, annotate or delete nameserver items.
[Root@localhost etc]# VI resolv.conf
The code is as follows |
Copy Code |
#search Localdomain #nameserver the IP of the 221.228.255.1//dns server #nameserver 218.2.135.1 |