Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Slow telnet response after installing Bind

Posted on 2002-05-17
7
Medium Priority
?
368 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 300 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

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

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

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

721 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