In the Windows Host host, the problem of Oracle slow Pl/sql connecting to virtual machines

Source: Internet
Author: User
Tags nameserver oracle database

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.