[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: internal network problem



On Fri, Jan 18, 2002 at 11:28:52AM +0800, Zou Min wrote:
> 
> Yes, you are right. Some applications use double reverse DNS lookup to 
> enforce security. Since our internal IP is fake, DNS lookup takes a long 
> time. So I add an entry in /etc/hosts, and let nameserver looks for that 
> file before querying DNS server. This solves most problem, e.g. ssh/telnet 
> connection setup is instant. However, ftp still waits for
> 10-20 sec. I thought maybe wu-ftpd still query the DNS server.

Since most Debian inet daemons use tcpwrapper ('man tcpd'), which will do
reverse dns lookup, you can disable your ftpd's own reverse dns lookup.

Or if you run your own DNS, add a zone for your local IP. That way,
ftpd can do reverse dns lookup with no problem.

... Oh, I don't know how to disable wu-ftpd. :)

-- 
hashao|     古之善用兵者,能使敵人前後不相及,眾寡不相恃,貴賤不相救,上下
hashao|     不相收,卒離而不集,兵合而不齊。合于利而動,不合于利而止。敢問
hashao|     敵眾而整將來,待之若何曰:先奪其所愛則聽矣。兵之情主速,乘人之
hashao|     不及。由不虞之道,攻其所不戒也。

-- 
To UNSUBSCRIBE, email to debian-chinese-gb-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
| This message was re-posted from debian-chinese-gb@lists.debian.org
| and converted from gb2312 to big5 by an automatic gateway.



Reply to: