1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > 解决Ubuntu系统上网速度慢的问题

解决Ubuntu系统上网速度慢的问题

时间:2021-04-04 13:09:40

相关推荐

解决Ubuntu系统上网速度慢的问题

1.获取系统版本信息:

:~$ lsb_release -a

2.查看本地的DNS地址:

>:ipconfig /all

3.使用pdnsd软件为本机搭建DNS代理服务器。

a>安装pdnsd

:~$sudo apt-get install pdnsd

跳出的窗口中选择manual。

b>更改配置文件

配置

:~$sudo gedit /etc/pdnsd.conf

修改

server {

label="resolvconf";

}

server {

label="resolvconf";

ip=10.237.25.6; //这里的IP代表本地的DNS服务器地址

ip=10.237.25.7;//这里的IP代表本地的DNS服务器地址

timeout=30;

interval=30;

uptest=ping;

ping_timeout=50;

purge_cache=off;

}

注意:这里的IP视情况而定,其他参数选择默认就行。

c>设置本机的DNS

:~$sudo gedit /etc/resolv.conf

在文档开头位置插入一行:

nameserver 127.0.0.1

d>启动pdnsd

:~$sudo /etc/init.d/pdnsd start

e>验证结果

:~$dig | grep time

显示:;;Query time: 0 msec

再试试,网速就上来了,和Windows下的网速就差不多了

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。