Solve the problem of slow Internet access speed in Ubuntu8.10

Source: Internet
Author: User
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. _______________

Ubuntu 8.10 is slow !!

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.

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.