Re: Do the server daemons require IP address to name resolution?

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

 



Sven Koch schrieb:
> 
> On Mon, 3 Dec 2001, Zacarías Lecumberri Sánchez wrote:
> 
> > I have no "nameserver" entries in resolv.conf.
> > I have the following order in host.conf:
> > order hosts,bind
> 
> then this would be more apropriate:
>         order hosts
>         multi off
> 
> > When I try to telnet or ftp to a IP address which has not a host name the
> > process hangs and I have to kill it.
> > It seems obvious that the server daemons won't work unless the IP addresses
> > can resolve to a name, but I would like to confirm my guesses and I would
> > also appreciate an explanation for this implementation behaviour.
> 
> This absolutely depends on the daemon and its configuration.
> 
> If your daemon is configured to do reverselookups (for logging or
> access-control), you will have to wait till the lookup times out.
> 
> Would you have waited some seconds (30 till 300), you would have been
> able to connect in most setups.
> 

If the service gets started from inetd:

look at /etc/inetd.conf.

If the tcpd wrapper is used, it tries to do a reverse lookup for logging
the event.

e.g.
# ftp   stream  tcp     nowait  root    /usr/sbin/tcpd  in.ftpd

Try removing /usr/sbin/tcpd
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux