Solved

Slow telnet response after installing Bind

Posted on 2002-05-17
7
363 Views
Last Modified: 2013-12-16
Dear all,

I have installed the Bind 9.2 in Redhat/Solaris box, it seems that after installing the Bind, the telentlogin response in between the client and the server (just installed primary domain) are very very slow.

1) I do not want to add the host name in /etc/hosts as I may have many ip address and they are all changeable.

2) I hear that we are play around with the named.conf

Here is the answer from perious people

1. Make sure that your box have correct setup with DNS server daemon program: named(bind 9.0)
2. Add your host name and IP address in file:" /etc/hosts" like:
      192.168.1.1         Myname
3. If you need to run DNS server on your machine, then you'd better add an item to the PTR file. About
details, you can look for DNS configrations on net.
4. If you need not to run the DNS server then just kill DNS daemon service: "killall named", and the
change the resolve file: "/etc/resolv.conf" delete all the nameserver lines.

I may have the answer from point 3

Thanks in advance

0
Comment
Question by:edmundli
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 7020679
It sounds like you may not be getting reverse lookups of the the  client IP's. You don't say whether the clients opening the telnet sessions are on the local network or if they are at random Internet addresses. If the clients are part of a local network that the DNS server is responsible for, the you simply need to add the appropriate A and PTR records for those clients. On the other hand, if the clients are at random on the Internet you need to figure out why your DNS server isn't resolving the hostnames from the client IP's. In some cases there won't be a DNS PTR record available and a timeout will occur, but in many cases there should be a record available. A simple check of your DNS server would be to lookup something that will have a PTR record and then see if you can lookup the hostname from that IP, say like:

chaos> host ftp.redhat.com
ftp.redhat.com. has address 216.148.218.201
ftp.redhat.com. has address 63.240.14.63
chaos> host 216.148.218.201
201.218.148.216.in-addr.arpa. domain name pointer ftp.redhat.com.

If you can't duplicate the above using your DNS server, then something isn't configured right.
0
 

Author Comment

by:edmundli
ID: 7021220
So you mean that they should have PTR record in DNS server in order to speed up the telent login seesion ?

If I have many ip addresses that I may not know, then they will have difficulity to login with acceptable time. ( I will in few seconds rather than 60-90 secs. )

Regards
0
 
LVL 40

Expert Comment

by:jlevie
ID: 7021385
If this DNS server is one for a local network, then yes you need A & PTR records for all of the IP's that are in use on the local network. Any clients on the local network that aren't properly listed in the DNS will have problems with any of the IP services that do a reverse lookup of a connecting client's IP. And it's not just telnet that does that. Sendmail, imap, pop, FTP, etc. all will do a reverse lookup.
0
Use Filtering Commands to Process Files in Linux

Learn how to manipulate data with the help of various filtering commands such as `cat`, `fmt`, `pr`, and others in Linux.

 

Author Comment

by:edmundli
ID: 7023110
Does it mean that it relate to BIND 9.2 ?

We have other system e.g. sendmail, ftp servers , but it are running fine without having any delay.

Thanks
0
 
LVL 40

Expert Comment

by:jlevie
ID: 7024068
There shouldn't be any difference between a Bind 9 and earlier releases with respect to this. Are the sendmail and FTP servers using this DNS server?


Are the clients that are having the problem on your local network?

For one of the clients with the problem, what happens if you do; 'host that-client-ip'? Is there a long delay or an immediate response?

Likewise, from another system that is using this DNS server for name resolution what response do you get if you do; 'host telnet-server-name' or 'nslookup telnet-server-name'? Is that immediate or slow?

Have you checked the syslog messages on the DNS server for any complaints from Bind when it starts or is running? On Linux any errors would be in /var/log/messages.
0
 

Author Comment

by:edmundli
ID: 7039270
I do not what reason that the response was back to normal,
I do not add any hosts, but have all zone-transfers files from others DNS servers.

Is this the reason ?
0
 
LVL 40

Accepted Solution

by:
jlevie earned 100 total points
ID: 7039292
If for some reason there were problems with named accomplishing the zone transfers from other servers there could be problems that could result in DNS timeouts, so yes that could have been the problem. It would depend on what data couldn't be transferred and what data named needed to look up.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question