赞助连接

赞助连接

阅 读 文 章

请问各位高手,为什么我的ftp服务器和telnet连接速度这么慢?

[来源:网上转载 (http://bbs.chinaunix.net) | 作者:网友(网络转载) | 时间:2008-09-28 | 浏览:人次 ]

请问各位高手,我在redhat linux 7.3上配置了dns 服务器,用nslookup测试,正反都能解析,但只要激活dns 服务器,用ftp和telnet 的速度就非常的慢,在client端用nslookup测试时提示:如下: (注:我是在局域网上作的,不和外界相连)
C:\>;nslookup
Default Server:  webemailserver.testweb.com
Address:  10.149.7.88

>; 10.149.7.88
Server:  webemailserver.testweb.com
Address:  10.149.7.88

Name:    webemailserver.testweb.com
Address:  10.149.7.88
>; testweb.com
Server:  webemailserver.testweb.com
Address:  10.149.7.88
DNS request timed out.
    timeout was 2 seconds.
Name:    testweb.com
Address:  10.149.7.88
在dns服务器, 测试时提示:如下:
[root@webemailserver init.d]# nslookup
Note:  nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
>; 10.149.7.88
Server:         10.149.7.88
Address:        10.149.7.88#53

88.7.149.10.in-addr.arpa        name = webemailserver.testweb.com.
>; testweb.com
Server:         10.149.7.88
Address:        10.149.7.88#53

Name:   testweb.com
Address: 10.149.7.88
>; webemailserver.testweb.com
Server:         10.149.7.88
Address:        10.149.7.88#53

Name:   webemailserver.testweb.com
Address: 10.149.7.88
>; localhost
Server:         10.149.7.88
Address:        10.149.7.88#53

Name:   localhost
Address: 127.0.0.1
>;
我的配置文件如下:
1./etc/named.conf
options {
        directory "/var/named";
};

controls {
        inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

zone "localhost" IN {
        type master;
        file "localhost.zone";
};

zone "0.0.127.in-addr.arpa" IN {
        type master;
        file  "0.0.127.in-addr.arpa.zone";
};

zone  "testweb.com" IN {
         type master;
         file  "testweb.com.zone";
};


zone  "7.149.10.in-addr.arpa" IN {
         type master;
         file  "7.149.10.in-addr.arpa.zone";
};

include "/etc/rndc.key";
~

2./var/named/testweb.com.zone
$TTL 86400
@       IN      SOA     webemailserver.testweb.com.  root.testweb.com. (
2003071600; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttl
)
@       IN      NS      webemailserver.testweb.com.
@       IN      A       10.149.7.88
@       IN      MX      10      webemailserver.testweb.com.

webemailserver.  IN      A    10.149.7.88

webemailserver.testweb.com. IN  A  10.149.7.88

www.testweb.com.    IN    CNAME      webemailserver.testweb.com.

email.testweb.com.  IN    CNAME      webemailserver.testweb.com.

ftp.testweb.com.    IN    CNAME      webemailserver.testweb.com.

3./var/named/7.149.10.in-addr.arpa.zone
$TTL 86400
@  IN   SOA     webemailserver.testweb.com. root.testweb.com. (
2003071600 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttl
)
@       IN      NS      webemailserver.testweb.com.
88      IN      PTR     webemailserver.testweb.com.

4./var/named/0.0.127.in-addr.arpa.zone
$TTL 86400
@   IN  SOA     localhost. root.localhost. (
2003071600; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttl
)
@       IN      NS      localhost.
@       1       IN      PTR     localhost.

5./var/named/localhost.zone
$TTL 86400
@  IN   SOA    localhost.  root.localhost. (
2003071600 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttl
)
@              IN       NS      localhost.

localhost.     IN       A       127.0.0.1


“ftp和telnet 的速度就非常的慢”
是指登录的速度很慢?如果是这样,看看/etc/resolv.conf文件的配置有没有问题?


如果慢,你可以把你需要的IP地址加入到hosts里,可以解决一些问题。


是登录的时候慢,登录了以后传输的速度还是比较快的,我的/etc/resolv.conf文件的配置是这样的:domain testweb.com
nameserver 10.149.7.88
应该没有问题,我在/etc/hosts里加入了客户端的ip ,速度还是比较慢,问题还是没有解决.


03年的帖子啊 我现在遇到了这个问题, 改了resolv.conf不行,  改了hosts也不行. 但最最奇怪的是, ftp到windows ftp server很慢, 但是ftp到虚拟机上的linux ftp server一切正常.


不用nameserver就应该快了,我碰到
这种问题,都是把resolv.conf中的nameserver
屏蔽掉就解决问题的,感觉好像是linux会去做一次
解析,不知道为什么,也许是逆向解析客户端的IP?


TAG标签 : 连接 速度 这么 服务器 各位 高手 为什么 请问 IN 10.149.7.88

最新评论 共有0位网友发表了评论

发表评论

评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名:(注册)
密码:
验证码:
匿名发表
网站地图友情连接交流论坛网站投稿广告服务联系我们留言本站长统计
Some rights reserved: www.chmhome.com, 鄂ICP备07010232号 E-mail:chinakafei@live.com,QQ:552766
中国咖啡技术网(Chmhome):国外编程技术书籍,中文编程手册,经典编程文章,交流技术,技术软件下载,计算机论文,毕业论文.