---
title: "Solaris TELNET ftp时间超长"
author: "limafa"
date: "2008-12-17T14:41:00Z"
tags: []
slug: "solaris-telnet-ftp"
draft: false
lastmod: "2008-12-17T14:41:00Z"
id: 575528
url: "https://limafa.iteye.com/blog/575528"
---

**症状：**

　　1、从客户都使用[服务器](http://product.itzero.com/server/index.html)IPtelnet，ftp时间都很长，ftp甚至timeout退出。

　　2、在[服务器](http://product.itzero.com/server/index.html)端arp-a，命令很长时间没有回显。

　　**问题根源：**

　　Solaris[服务器](http://product.itzero.com/server/index.html)DNS尝试反向解析客户端的主机名。

　　**解决方法：**

　　1、修改/etc/nsswitch.conf文件。去掉dns字段。

　　如：

　　#vi /etc/nsswitch.conf

　　~~

　　# You must also set up the /etc/resolv.conf file for DNS name

　　# server lookup. See resolv.conf(4).

　　hosts: files # dns&lt;把这个dns字段去掉，即可&gt;

　　ipnodes: files

　　~~

　　2、完成DNS反向解析部分的设置。