Solve the problem of slow internet access speed in ubuntu8.10

Source: Internet
Author: User
Article title: solve the problem of slow surfing speed in ubuntu8.10. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Ubuntu8.10 slow Internet access !!

The real reason for slow Internet access is that it mainly takes time for firefox to resolve domain names.

Therefore, it is necessary to set DNS cache.

It is automatically set in windows, so you don't have to worry about it.

It will take some time in Ubuntu.

Therefore, you need to install a software called dnsmasq, which can provide dns resolution functions.

Of course, the dns cache function can also be improved.

_____________________________________

Operations

---------------------

Install dnsmasq

Command: sudo apt-get install dnsmasq

Edit the configuration file of dnsmasq

Command: sudo gedit/etc/dnsmasq. conf

Find the following item

# Resolv-file =

Replace with the following statement

Resolv-file =/etc/resolv. dnsmasq. conf

Make sure that you have not changed the/etc/resolv. conf file.

Then execute the command

Sudo cp/etc/resolv. conf/etc/resolv. dnsmasq. conf

Edit resolv. conf.

Command; sudo gedit/etc/resolv. conf

Remove all domain name servers and add the following lines

Nameserver 127.0.0.1

Save and exit

Run the following command:

Sudo gedit/etc/ppp/peers/wvdial

Add # before usepeerdns, that is, overwrite this statement.

In case, the resolv. conf setting is overwritten by pppoe.

Restart your computer. If you do not restart, you will find that the domain name cannot be resolved. Therefore, you must restart your computer to restart dnsmasq.

After restarting, you will find that firefox's resolution speed is N orders of magnitude faster than before.

 

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.