HP CP cq60-208tx install Ubuntu 9.10RC Server: Install NSCD

Source: Internet
Author: User
Keywords HP UBUNTU CQ60-208TX NSCD
Tags access address aliyun cache caching clients course dns

Some distributions run a http://www.aliyun.com/zixun/aggregation/12499.html "> Domain resolution caching service in the background." Of course, there are also distributions that do not have this service. If you have this program in the background of Ubuntu, you can use the Restart NSCD service to empty the cache.

Why empty the cache?

Most DNS clients cache the results of domain name resolution locally, which can increase the speed of access to the same address. When you open a single page, there are often multiple access requests for the same domain name. Basically each file, picture, style sheet ... These are DNS resolution requests for the same domain name within the same page.

So if you have cached an incorrect DNS entry locally, you need to empty your cache to have the DNS client present a new DNS request and update the resolution results. Of course, you can also wait for the cached DNS entry to expire after the system automatically flushes the entry ... This usually takes 24 hours.

The way to flush out DNS caching in Ubuntu is to restart the NSCD daemon.

The way to install NSCD is to run this command on the command line:

sudo aptitude install NSCD

The command to clear the DNS cache in Ubuntu is:

SUDO/ETC/INIT.D/NSCD restart

It's better to restart the network.

Ubuntu's Restart Network command is:

/etc/rc.d/init.d/network restart

The following software is installed to test the effect of first dial-up VPN in the local and then through the VPN of the virtual machine

sudo apt install NETWORK-MANAGER-PPTP

NETWORK-MANAGER-PPTP Pptp-linux

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.