hcym 写了:用了过后打开网页的速度是快了许多。
试试看
[转帖]使用本地DNS缓存,加速(Firefox)网络访问速度
- cdaxcy
- 帖子: 97
- 注册时间: 2007-06-07 15:59
- 联系:
- fanhe
- 帖子: 2357
- 注册时间: 2007-03-24 23:45
# Configuration file for /sbin/dhclient, which is included in Debian's
# dhcp3-client package.
#
# This is a sample configuration file for dhclient. See dhclient.conf's
# man page for more information about the syntax of this file
# and a more comprehensive list of the parameters understood by
# dhclient.
#
# Normally, if the DHCP server provides reasonable information and does
# not leave anything out (like the domain name, for example), then
# few changes must be made to this file, if any.
#
send host-name "<hostname>";
#send dhcp-client-identifier 1:0:a0:24
fb:9c;
#send dhcp-lease-time 3600;
#supersede domain-name "fugue.com home.vix.com";
#prepend domain-name-servers 127.0.0.1;
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, host-name,
netbios-name-servers, netbios-scope;
#require subnet-mask, domain-name-servers;
timeout 30;
#retry 60;
#reboot 10;
#select-timeout 5;
#initial-interval 2;
#script "/etc/dhcp3/dhclient-script";
#media "-link0 -link1 -link2", "link0 link1";
#reject 192.33.137.209;
#alias {
# interface "eth0";
# fixed-address 192.5.5.213;
# option subnet-mask 255.255.255.255;
#}
#lease {
# interface "eth0";
# fixed-address 192.33.137.200;
# medium "link0 link1";
# option host-name "andare.swiftmedia.com";
# option subnet-mask 255.255.255.0;
# option broadcast-address 192.33.137.255;
# option routers 192.33.137.250;
# option domain-name-servers 127.0.0.1;
# renew 2 2000/1/12 00:00:01;
# rebind 2 2000/1/12 00:00:01;
# expire 2 2000/1/12 00:00:01;
#}
# dhcp3-client package.
#
# This is a sample configuration file for dhclient. See dhclient.conf's
# man page for more information about the syntax of this file
# and a more comprehensive list of the parameters understood by
# dhclient.
#
# Normally, if the DHCP server provides reasonable information and does
# not leave anything out (like the domain name, for example), then
# few changes must be made to this file, if any.
#
send host-name "<hostname>";
#send dhcp-client-identifier 1:0:a0:24
#send dhcp-lease-time 3600;
#supersede domain-name "fugue.com home.vix.com";
#prepend domain-name-servers 127.0.0.1;
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, host-name,
netbios-name-servers, netbios-scope;
#require subnet-mask, domain-name-servers;
timeout 30;
#retry 60;
#reboot 10;
#select-timeout 5;
#initial-interval 2;
#script "/etc/dhcp3/dhclient-script";
#media "-link0 -link1 -link2", "link0 link1";
#reject 192.33.137.209;
#alias {
# interface "eth0";
# fixed-address 192.5.5.213;
# option subnet-mask 255.255.255.255;
#}
#lease {
# interface "eth0";
# fixed-address 192.33.137.200;
# medium "link0 link1";
# option host-name "andare.swiftmedia.com";
# option subnet-mask 255.255.255.0;
# option broadcast-address 192.33.137.255;
# option routers 192.33.137.250;
# option domain-name-servers 127.0.0.1;
# renew 2 2000/1/12 00:00:01;
# rebind 2 2000/1/12 00:00:01;
# expire 2 2000/1/12 00:00:01;
#}
-
- 帖子: 33
- 注册时间: 2007-10-25 18:35
- skysea575
- 帖子: 32
- 注册时间: 2007-10-30 0:27
;; Query time: 78 msec
;; SERVER: 202.100.199.8#53(202.100.199.8)
;; WHEN: Sun Nov 4 22:13:12 2007
;; MSG SIZE rcvd: 212
;; Query time: 58 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sun Nov 4 22:22:30 2007
;; MSG SIZE rcvd: 212
更前78,更后58,加快了点。不知下次重启后会不会保持?到时再看看。
-
有个问题就是,上次也是用另一文章全换的,结里,这次打开,还是和没改是一样的,似乎不能长久保持~
;; SERVER: 202.100.199.8#53(202.100.199.8)
;; WHEN: Sun Nov 4 22:13:12 2007
;; MSG SIZE rcvd: 212
;; Query time: 58 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sun Nov 4 22:22:30 2007
;; MSG SIZE rcvd: 212
更前78,更后58,加快了点。不知下次重启后会不会保持?到时再看看。
-
有个问题就是,上次也是用另一文章全换的,结里,这次打开,还是和没改是一样的,似乎不能长久保持~
2008.05.28:P4 2.66G;512M DDR;60G;DVD;14'.Ubuntu-8.04
2010.04.08 Acer 4474G 332G32Mn:waiting for 10.04
http://hi.baidu.com/skysea575
2010.04.08 Acer 4474G 332G32Mn:waiting for 10.04
http://hi.baidu.com/skysea575
-
- 帖子: 69
- 注册时间: 2008-04-17 16:10
- tigerdoo
- 帖子: 327
- 注册时间: 2006-11-17 23:02
firefox解析dns没有问题啊,一样的很快
IBM T41-P4M 1.5G/1GB/40GB HDD/DVD/14.1TFT/IPW2100 & 10-100M
OS:Xubuntu 11.10
生活就是折腾
活在成都
使用update-rc.d管理Linux服务
OS:Xubuntu 11.10
生活就是折腾
活在成都
使用update-rc.d管理Linux服务
-
- 帖子: 122
- 注册时间: 2008-08-02 13:01