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.