Friday, December 17, 2010

Fix ubuntu8.10 slow Internet access

Ubuntu8.10 surfing the Internet slow slow!!, truly careful observation will find, mainly in the firefox takes the time to resolve domain names.

Therefore it is necessary to set the DNS cache. Windows here are automatically set, so don't have to worry about. In Ubuntu will take a confusing below. So you will need to install a software called dnsmasq, it provides the functionality of the DNS resolution. Of course, it also provides the functionality of the dns cache. _____________________________________ Specific operation----------------------------install dnsmasq dnsmasq sudoapt-getinstalldnsmasq command: Edit the configuration file commands: sudogedit/etc/dnsmasq.con found following a # resolv-file = use the following statement replace resolv-file =/etc/resolv.dnsmasq.con ensure you haven't changed the/etc/resolv.conf file, if you turn over, restitution and then execute commands sudocp/etc/resolv.conf/etc/resolv.dnsmasq.con then edit resolv.con command; sudogedit/etc/resolv.con of domain name servers are all removed, by adding the following line nameserver127.0.0.1 save, exit execute the following command sudogedit/etc/ppp/peers/wvdial in front of the usepeerdns added #, also is to take this statement overwrites it. In case that set of resolv.conf is pppoe coverage. Restart the computer. Does not restart, you will find the domain name cannot be resolved. So make sure you restart the computer, to achieve the purpose of the restart dnsmasq. After reboot, you will find firefox's parsing speed up faster n magnitude.

No comments:

Post a Comment