1 desktop Ubuntu installation bind9: sudoapt-getinstallbind92 modify configuration file sudovim/etc/bind/named. conf. options Delete the preceding // note symbol for the remarks, and then add some dns Server IP addresses & nbsp
1 bind9: sudo apt-get install bind9 on Ubuntu
2. modify the configuration file sudo vim/etc/bind/named. conf. options.
These are the remarks to delete the previous // remarks, and then add some dns Server IP addresses.
Forwarders {
192.168.2.1;
202.106.0.20;
202.106.196.115;
};
3. After dns is configured, the computer becomes the dns Cache Server, that is, all domain names can be saved to the cache only once, And the next resolution will be very fast, directly from the local cache
You can resolve the domain name without connecting to the dns server of China Telecom, which can effectively increase the speed of accessing the Internet. In the lower left corner of Firefox, you will no longer see text like sina.com being parsed.
4 restart the dns server sudo/etc/init. d/bind9 restart
5. Set the dns address for the local connection
Ifconfig // view the IP address of your local machine
Sudo vim/etc/resolv. conf // Add your dns address here
6. restart the network after adding the sudo/etc/inti. d/networking restart.
In this case, is the Internet surfing fast?