Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tcpd and name resolution

Status
Not open for further replies.

ManagerJay

IS-IT--Management
Jul 24, 2000
302
US
I currently have RedHat 6.2 installed on my server and I have run into a problem with tcpd. Apparently tcpd is trying to perform name resolution when someone tried to connect to the ftp server.

Is there anyway to make tcpd responsd to just the IP address without trying to lookup the name?

Thanks for your help.



Jay
 
Here is some additional information that I hop will provide a clue to someone.

I am currently running RedHat 6.2 on a P90 with 32 MB of RAM and 6 GB of hard disk space. The network card I am using is an HP-NC 16 and I am using the lance.o module.

I am running telnet, samba and netatalk without any problems, but my users cannot connect to the ftp server. When they connect, they receive the message Connected to 12.X.X.X and after about one minute receive the message Disconnected by remote host. There are no entries in /var/log/messages.

ftp is defined in the inetd.conf file and it does not matter whether I use tcpd to start the ftp daemon, or start the daemon without using tcpd the results are the same.

If I remove the default gateway, or if I remove the entries from resolv.conf, users are able to connect to the server without any problems. If a user connects from the Internet, as opposed to the intranet, they are able to connect fine.

telnet will connect with the default gateway entry defined and resolv.conf in place, but it is extremely slow.

All of this leads me to believe that since I am using a public ip addresses, the server is trying to resolve the names we are using on our network to IP addresses.

We do have a registered domain name, and the computers were setup using that domain name which is now located on another network.

Is there a way to force tcpd to not perform a name lookup? Or, is it possible to create an entry in the hosts file that will resolve this problem? Since I have computers spread all over the state and the network was setup using static ip addresses, with no documentation of course, I'm trying to avoid having to enter each computer name into the hosts file.

TIA,



Jay
 
Finally, I have made some progress on this. The domain name (monea.org) that I am using is mapping back to the local interface. This is not registered as an FQDN in any way.

I have checked my hosts file and my hostname file, but monea.org is not listed. Any suggestions where I should look for this name?

TIA,



Jay
 
Maybe you can adjust the /etc/resolv.conf,/etc/hosts file! i'm not sure this works and it is only a suggestion!


Regards!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top