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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Slow Telnet

Status
Not open for further replies.

LinuAIX

MIS
Jun 5, 2003
53
US
Hi All,

I have one that is driving me nuts. When I telnet to the system in question with the simple host name "server" it can take up to a minute to connect. When I telent with the FQDN "server.domain.com" it goes right through. /etc/hosts has the FQDN and simple hostname. NSLOOKUP resolves to the FQDN from the simple host name or ipaddress. Ping works without flaw using the simple hostname. Any Ideas?!?!

Thanks
 
Yes. Each system has the same dns ip address and domain in /etc/resolv.conf.

i.e.

nameserver 1.1.1.1
domain domain.com
 
telnet into the system in question, and wait to get in.

when you get to a prompt, do a "who" and note if you are getting numeric or name for the origin (rightmost column).

If you are getting numerics, do an "nslookup -q=ptr ${IP}" for it.

If that doesn't resolve immediately, the machine is not properly resolving DNS.
 
Try setting up a netsvc.conf file. Sounds like your dns server is slow in responding. When you do a netstat -a does it also return slow?

Format of netsvc.conf

hosts=local,nis,bind




This means it will try to resolv the address in the hosts file before trying dns
 
hi!

put a -c on the last line of the telnet at /etc/inetd.conf then run refresh -s inetd upon completion.

ex.
#vi /etc/inetd.conf
.....
.....
telnet stream.........telnetd -a -c (-a is default)
......
#refresh -s inetd

TJmike
 
Thanks for the sugesstions. The problem I have is that I have many systems that work as configured i.e. telnetd -a and a netsvc.conf. But they do not have the hostnames of every system in /etc/hosts which they resolve without a .domain.com.

Am I correct that the -c is the un-documented switch for canonical names?

Larry
 
Chanper11,

The I did a who and get the FQDN not numerics?!?!

Larry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top