<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[linuxの飘扬]]></title> 
<link>https://www.linuxfly.org/index.php</link> 
<description><![CDATA[Power by www.linuxfly.org]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[linuxの飘扬]]></copyright>
<item>
<link>https://www.linuxfly.org/post/310/</link>
<title><![CDATA[[转]ssh 域名解析登录延迟问题]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[故障处理]]></category>
<pubDate>Sun, 15 Feb 2009 03:55:24 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/310/</guid> 
<description>
<![CDATA[ 
	最近在工作中常常用ssh登录某个节点的服务器解析域名的时间非常长：<br/><br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content"># time ssh <br/>real&nbsp;&nbsp;&nbsp;&nbsp;0m19.928s <br/>user&nbsp;&nbsp;&nbsp;&nbsp;0m0.008s <br/>sys&nbsp;&nbsp;&nbsp;&nbsp; 0m0.001s</div></div><br/>可以看到登录这个点服务器需要近20秒的时间；<br/>然后用nslookup检查了这个域名ip地址，报了：<br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content">connection timed out; no servers could be reached</div></div><br/>的错误；<br/>............<br/><br/>Tags - <a href="https://www.linuxfly.org/tags/sshd/" rel="tag">sshd</a>
]]>
</description>
</item><item>
<link>https://www.linuxfly.org/post/310/#blogcomment2349</link>
<title><![CDATA[[评论] [转]ssh 域名解析登录延迟问题]]></title> 
<author>kook &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Sun, 27 Dec 2009 15:10:48 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/310/#blogcomment2349</guid> 
<description>
<![CDATA[ 
	关于ssh时间过长，与服务器的DNS解析有关<br/>1：关闭/etc/ssh/sshd_config<br/>UseDNS no<br/>2：检查/etc/hosts和/etc/HOSTNAME的匹配情况<br/>如果不匹配也会陷入过长等待。
]]>
</description>
</item>
</channel>
</rss>